Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A164124
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A164124 First differences of A016041. +0
3
0, 2, 2, 10, 14, 42, 34, 20, 130, 56, 130, 750, 260, 118, 48, 168, 44, 48, 3010, 224, 76, 368, 312, 112, 230, 616, 780, 152, 160, 272, 9186, 720, 192, 1144, 176, 192, 1356, 1384, 128, 192, 720, 448, 1718, 192, 1240, 624, 320, 96, 588, 864, 720, 792, 544 (list; graph; listen)
OFFSET

1,2

COMMENT

Differences between successive primes that are palindromic in base 2.

3,5,7,17,31,73,107,127,257,313,443,1193,1453,1571,1619,1787,1831,1879,..

MATHEMATICA

f[n_]:=FromDigits[RealDigits[n, 2][[1]]]==FromDigits[Reverse[RealDigits[n, 2][[1]]]]; a=3; lst={}; Do[p=Prime[n]; If[f[p], AppendTo[lst, p-a]; a=p], {n, 2, 8!, 1}]; lst

CROSSREFS

Cf. A029971, A016041, A164125 [From Vladimir Orlovsky (4vladimir(AT)gmail.com), Aug 10 2009]

Sequence in context: A132443 A048153 A015623 this_sequence A003609 A102446 A151456

Adjacent sequences: A164121 A164122 A164123 this_sequence A164125 A164126 A164127

KEYWORD

nonn,less

AUTHOR

Vladimir Orlovsky (4vladimir(AT)gmail.com), Aug 10 2009

EXTENSIONS

Definition corrected by Charles R Greathouse IV (charles.greathouse(AT)case.edu), Oct 08 2009

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 2 11:54 EST 2009. Contains 167921 sequences.


AT&T Labs Research