login
A255307
Concatenation of the first n entries of the difference sequence of prime numbers (see A001223).
1
1, 12, 122, 1224, 12242, 122424, 1224242, 12242424, 122424246, 1224242462, 12242424626, 122424246264, 1224242462642, 12242424626424, 122424246264246, 1224242462642466, 12242424626424662, 122424246264246626, 1224242462642466264, 12242424626424662642, 122424246264246626426
OFFSET
1,2
COMMENTS
The digits in A001223, the sequence of differences between consecutive primes, are concatenated to form this sequence.
EXAMPLE
a(3) = 122, because the first three entries of A001223 are 1, 2, 2.
MATHEMATICA
f[n_] := FromDigits@ Differences@ Prime@ Range[n + 1]; Array[f, 21] (* Robert G. Wilson v, Mar 31 2015 *)
PROG
(PARI) lista(nn) = {pp = 2; s = ""; forprime(p=3, nn, s = concat(s, p-pp); print1(eval(s), ", "); pp = p; ); } \\ Michel Marcus, Mar 31 2015
CROSSREFS
Cf. A001223.
Sequence in context: A090843 A132927 A113574 * A199592 A285807 A078189
KEYWORD
nonn,base
AUTHOR
Waldemar Puszkarz, Feb 20 2015
EXTENSIONS
Edited by Wolfdieter Lang, Mar 26 2015
STATUS
approved