OFFSET
1,1
COMMENTS
Differs from A007708 only for n=1. - Michel Marcus, Mar 10 2013
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) [Annotation on p. 81 references this A-number, but the sequence with that annotation is apparently unrelated to this entry and is not present in the OEIS to date. - Andrey Zabolotskiy, Jul 16 2022]
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