OFFSET
1,1
EXAMPLE
p=2 -> 2*(3+5)=16.
p=7 -> 7*(11+13+17+19+23+29+31)=1001.
PROG
(PARI) a(n) = prime(n)*sum(i=1, prime(n), prime(n+i)); \\ Michel Marcus, Jan 06 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
G. L. Honaker, Jr., Dec 15 1998.
EXTENSIONS
Offset corrected to 1 by Michel Marcus, Jan 06 2014
STATUS
approved