Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A164125
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A164125 First differences of A029971. +0
3
11, 10, 128, 22, 60, 524, 180, 156, 156, 180, 58, 180, 66, 90, 90, 66, 90, 6320, 714, 1008, 2190, 2650, 1722, 198, 1722, 41510, 810, 594, 1620, 6570, 3546, 5736, 1620, 1404, 810, 594, 1620, 522, 4428, 810, 1332, 1620, 1404, 7356, 594, 810, 3546, 2214 (list; graph; listen)
OFFSET

1,2

COMMENT

Differences between primes that are palindromic in base 3.

EXAMPLE

a(4) = 22 = A029971(5)-A029971(4).

MATHEMATICA

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

CROSSREFS

Cf. A164124, A029971, A016041

KEYWORD

nonn,base,new

AUTHOR

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

EXTENSIONS

Definition simplified, initial 0 removed by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Nov 17 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 November 24 23:16 EST 2009. Contains 167481 sequences.


AT&T Labs Research