login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
The digits in A001223, the sequence of differences between consecutive primes, are concatenated to form this sequence.
LINKS
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 11 13:26 EDT 2024. Contains 375069 sequences. (Running on oeis4.)