Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A100957
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A100957 Consider all (2n+1)-digit palindromic primes of the form 90...0M0...09 (so that M is a palindrome with <= 2n-1 digits); a(n) = smallest such M. +0
3
1, 7, 2, 1, 2, 5, 838, 232, 121, 8, 151, 202, 2, 101, 646, 5, 1, 151, 424, 404, 242, 131, 646, 272, 16361, 1, 494, 1, 868, 101, 494, 12421, 14041, 151, 595, 383, 515, 19091, 10001, 242, 17171, 20602, 161, 292, 11011, 8, 1, 11611, 22822, 232, 17771, 616, 767 (list; graph; listen)
OFFSET

1,2

MATHEMATICA

f[n_] := Block[{k = 0, t = Flatten[ Join[{9}, Table[0, {n - 1}]]]}, While[s = Drop[t, Min[ -Floor[ Log[10, k]/2], 0]]; k != FromDigits[ Reverse[ IntegerDigits[k]]] || !PrimeQ[ FromDigits[ Join[s, IntegerDigits[k], Reverse[s]]]], k++ ]; k]; Table[ f[n], {n, 55}]

CROSSREFS

Cf. A100026, A100955, A100956.

Adjacent sequences: A100954 A100955 A100956 this_sequence A100958 A100959 A100960

Sequence in context: A021585 A103713 A089129 this_sequence A133362 A010140 A060991

KEYWORD

base,nonn

AUTHOR

Robert G. Wilson v (rgwv(AT)rgwv.com), Nov 23 2004

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 October 7 14:39 EDT 2008. Contains 144666 sequences.


AT&T Labs Research