login
A179681
a(n)=(nextprime(n)+(n+1))(nextprime(n+1)+n)/2.
0
8, 21, 36, 55, 78, 119, 171, 190, 210, 253, 300, 377, 465, 496, 528, 595, 666, 779, 903, 946, 990, 1173, 1378, 1431, 1485, 1540, 1596, 1711, 1830, 2077, 2346, 2415, 2485, 2556, 2628, 2849, 3081, 3160, 3240, 3403, 3570, 3827, 4095, 4186, 4278, 4653, 5050
OFFSET
1,1
EXAMPLE
a(1)=(nextprime(1)+2)(nextprime(2)+1)/2=(2+2)(3+1)/2=8
a(2)=(nextprime(2)+3)(nextprime(3)+2)/2=(3+3)(5+2)/2=21.
MATHEMATICA
Table[(NextPrime[n]+n+1)(NextPrime[n+1]+n)/2, {n, 100}]
CROSSREFS
Sequence in context: A139590 A154894 A241986 * A224039 A279895 A225287
KEYWORD
nonn
AUTHOR
Zak Seidov, Jul 24 2010
STATUS
approved