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
KEYWORD
nonn,base
AUTHOR
Waldemar Puszkarz, Feb 20 2015
EXTENSIONS
Edited by Wolfdieter Lang, Mar 26 2015
STATUS
approved