login
A245174
Second differences of A006450.
1
4, 0, 8, -4, 8, -10, 8, 10, -8, 12, -8, -10, 8, 10, 6, -30, 42, -26, -8, 20, -4, 0, 18, -10, -22, 8, -12, 6, 74, -62, 4, -10, 38, -44, 24, 6, -24, 16, -8, -8, 42, -48, 12, -14, 64, 32, -88, -10, 10
OFFSET
1,1
LINKS
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.
MATHEMATICA
Differences[Table[Prime[Prime[n]], {n, 1, 100}], 2] (* Jean-François Alcover, Oct 09 2018 *)
PROG
(PARI) f(n) = 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. A006450.
Sequence in context: A137323 A021075 A232705 * A109169 A011291 A338670
KEYWORD
sign
AUTHOR
N. J. A. Sloane, Jul 17 2014
STATUS
approved