login
A245175
Second differences of A038580.
2
14, 8, 40, -16, 46, -44, 46, 68, -58, 100, -66, -54, 54, 82, 38, -204, 314, -214, -64, 176, -20, 6, 120, -72, -158, 34, -58, 28, 680, -590, 4, -2, 304, -386, 208, 44, -180, 146, -74, -114, 408, -458, 136, -158, 652, 340, -902, -66, 60, 42, -30, 490, -466, 228
OFFSET
1,1
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..10000 (first 1000 terms from Jens Kruse Andersen)
R. G. Batchko, A prime fractal and global quasi-self-similar structure in the distribution of prime-indexed primes, arXiv preprint arXiv:1405.2900, 2014. See Table 2.
MAPLE
a:= ((f-> n-> f(n+1)-f(n))@@2)(ithprime@@3):
seq(a(n), n=1..60);
MATHEMATICA
Differences[Nest[Prime, Range[60], 3], 2] (* Jean-François Alcover, Oct 06 2018 *)
PROG
(PARI) f(n) = prime(prime(prime(n)))
a(n) = f(n+2)-2*f(n+1)+f(n)
vector(50, n, a(n)) \\ Jens Kruse Andersen, Jul 18 2014
CROSSREFS
Cf. A038580.
Sequence in context: A248600 A240245 A119871 * A337229 A010237 A035418
KEYWORD
sign
AUTHOR
N. J. A. Sloane, Jul 17 2014
STATUS
approved