login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A100955 Consider all (2n+1)-digit palindromic primes of the form 30...0M0...03 (so that M is a palindrome with <= 2n-1 digits); a(n) = smallest such M. 3

%I #5 Jul 18 2012 19:56:20

%S 1,1,1,2,5,2,2,8,5,434,5,313,272,838,5,272,8,505,1,7,212,7,151,686,2,

%T 242,656,656,323,929,121,242,262,12521,454,949,353,2,16361,707,10301,

%U 515,29092,454,13331,686,848,20602,1,484,737,101,242,121,15551,656,232

%N Consider all (2n+1)-digit palindromic primes of the form 30...0M0...03 (so that M is a palindrome with <= 2n-1 digits); a(n) = smallest such M.

%H Vincenzo Librandi, <a href="/A100955/b100955.txt">Table of n, a(n) for n = 1..200</a>

%t f[n_] := Block[{k = 0, t = Flatten[ Join[{3}, 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, 57}]

%Y Cf. A100026, A100956, A100957.

%K base,nonn

%O 1,4

%A _Robert G. Wilson v_, Nov 23 2004

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 08:27 EDT 2024. Contains 371964 sequences. (Running on oeis4.)