Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A089182
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A089182 Prime digit palindromes 2,...,23577532 continued by adding 10^(n-k) and 10^(k-1) times prime(k). +0
2
2, 22, 232, 2332, 23532, 235532, 2357532, 23577532, 235817532, 2358217532, 23582417532, 235824417532, 2358248417532, 23582488417532, 235824908417532, 2358249108417532, 23582491508417532, 235824915508417532 (list; graph; listen)
OFFSET

1,1

COMMENT

Original definition: Overlapping prime-based palindromic sequence.

Only the first 8 terms are truely palindromes: a modulo 10 version of this would work with a limited digit set {1,2,3,5,7,9} with 2 and 5 only occuring as 1st and 3rd digit to either side.

FORMULA

a(n)=sum( k=1...[n/2], prime(k)*(10^(n-k)+10^(k-1)) + (n%2)*prime((n+1)/2)*10^[n/2], where [x]=floor(x) and n%2=0 for n even, 1 for n odd. - M. F. Hasler, Apr 06 2009

MATHEMATICA

a[m_]=Delete[Table[If [ Floor[m/2]-n>=0, Prime[ n], Prime[m-n]], {n, 1, m}], m] b=Table[Sum[a[m][[i]]*10^(i-1), {i, 1, m-1}], {m, 2, digits}]

CROSSREFS

Cf. A007907, A138140.

Sequence in context: A002276 A112893 A086855 this_sequence A138140 A151617 A082777

Adjacent sequences: A089179 A089180 A089181 this_sequence A089183 A089184 A089185

KEYWORD

nonn,base

AUTHOR

Roger L. Bagula (rlbagulatftn(AT)yahoo.com), Dec 07 2003

EXTENSIONS

Edited by M. F. Hasler (MHasler(AT)univ-ag.fr), Apr 06 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 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research