OFFSET
1,1
COMMENTS
Of the first 10000 terms, 1540 are primes. - Antti Karttunen, Jul 30 2022
LINKS
FORMULA
MATHEMATICA
Table[(n+1)Prime[n]+n*Prime[n+1], {n, 50}] (* Harvey P. Dale, Oct 02 2017 *)
PROG
(PARI) A097240(n) = ((n+1)*prime(n) + n*prime(n+1)); \\ Antti Karttunen, Jul 30 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Aug 02 2004
STATUS
approved