OFFSET
1,1
COMMENTS
If we replace "abundant" in the definition with "nondeficient" so that perfect numbers qualify, we get the same sequence with an initial 2 instead of 3, as the perfect number 6 = 2*3 has only 2 prime factors but no other perfect numbers are squarefree.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..1000
MATHEMATICA
a[1] = 3; a[n_] := a[n] = Module[{c = a[n-1] - 1, p, s}, p = Prime[n+c]; s = Product[1 + 1/p, {p, Prime[Range[n, n-1+c]]}]; While[s <= 2, s *= 1 + 1/p; p = NextPrime[p]; c++]; c]; Array[a, 50]
PROG
(PARI) apply( {A396829(n)=my(s=1+1/prime(n), a=n); until(2 < s*=1+1/prime(a++), ); a-n+1}, [1..44]) \\ M. F. Hasler, Jun 08 2026
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved
