finding the first odd abundant number less than $1000$ We say about number $n $ abundant if the sum of the divisors except $n$ is bigger than the number $n$.For example : $12$ is abundant because the sum of divisors except $12$ is bigger than $12$ : $1+2+3+4+6=16>12$  .How to find the first odd abundant  number less than $1000$

If you're familiar with a bit of R-programming, then you could try this script:
n <- 1000
o <- sapply(seq(3, n, by=2), function(x) {
    t <- sapply(1:x-1, function(y) {
        ifelse(x %% y == 0, y, 0)
    })
    t <- sum(t, na.rm = TRUE)
})
df <- data.frame(num = seq(3, n, by = 2), sum_div = o)
> df[with(df, sum_div > num), ]

#     num sum_div
# 472 945     975

