Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A104645
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A104645 Difference between the previous and the next primes to x, where x is the number obtained from concatenation of the first n primes(A019158). +0
1
5, 10, 6, 20, 24, 24, 60, 18, 48, 100, 48, 156, 74, 88, 68, 42, 126, 366, 106, 186, 136, 228, 104, 30, 246, 52, 218, 814, 58, 536, 174, 90, 924, 180, 298, 120, 330, 96, 508, 504, 60, 762, 588, 330, 138, 552, 726, 452, 634, 660, 354, 534, 1770, 52, 262, 834, 790, 250 (list; graph; listen)
OFFSET

1,1

FORMULA

a(n)=A007918(A019158(n))-A007917(A019158(n))

EXAMPLE

n=4, Concatenate {2,3,5,7} gives 2357. It is between the closest primes 2371 and 2351 and their difference is a(4)=20.

MATHEMATICA

<<NumberTheory`NumberTheoryFunctions` sz[x_] :=FromDigits[Flatten[Table[IntegerDigits[Prime[j]], {j, 1, x}], 1]] Table[NextPrime[sz[w]]-PreviousPrime[sz[w]], {w, 1, 100}]

CROSSREFS

Cf. A019158, A074809, A104462, A104463, A007918, A007917.

Sequence in context: A046795 A005093 A103697 this_sequence A067843 A109360 A141622

Adjacent sequences: A104642 A104643 A104644 this_sequence A104646 A104647 A104648

KEYWORD

nonn

AUTHOR

Labos E. (labos(AT)ana.sote.hu), Mar 18 2005

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 17 23:40 EST 2009. Contains 171025 sequences.


AT&T Labs Research