OFFSET
1,1
COMMENTS
Differs from A007708 only for n=1. - Michel Marcus, Mar 10 2013
a(n) is approximately n^2 log^2 n. - Charles R Greathouse IV, Feb 26 2025
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..1000
H. W. Gould, A class of binomial sums and a series transform, Utilitas Math., 45 (1994), 71-83. (Annotated scanned copy) [An annotation on p. 81 references this A-number, but the sequence with that annotation is actually A003046 (the last term is erroneous), unrelated to this entry. - Andrey Zabolotskiy, Feb 26 2025]
MATHEMATICA
a[n_] := Module[{p = Prime[n]}, r = 1 + 1/p; While[r < 2, p = NextPrime[p]; r *= 1 + 1/p]; p]; Array[a, 39] (* Amiram Eldar, Jun 29 2019 *)
PROG
(PARI) a(n) = {p = prime(n); sig = p+1; prd = p; while (sig < 2*prd, p = nextprime(p+1); sig *= p+1; prd *= p; ); return (p); } \\ Michel Marcus, Mar 10 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from Don Reble, Nov 10 2005
STATUS
approved
