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!)
A181884 The sums of pairs of adjacent terms are the odd palindromic primes in ascending order. 4
3, 0, 5, 2, 9, 92, 39, 112, 69, 122, 191, 162, 211, 172, 555, 202, 585, 212, 707, 222, 10079, 422, 10179, 1132, 10279, 2142, 10579, 2242, 11089, 2742, 11189, 3152, 11589, 3862, 11689, 4372, 11989, 4572, 12089, 5382, 12589, 5592, 12889 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
This sequence was originally presented at http://www.sanaristikot.net by V.J. Pohjola, Nov 11 2010. [Added by V.J. Pohjola, Nov 25 2010.]
There are four possible solutions: see A181881-A181884.
LINKS
V. J. Pohjola, a(n)+a(n+1) = palindromic prime, Posting to the Sequence Fans Mailing List, Nov 11 2010.
MATHEMATICA
lst = {}; a = 3; c = -1; Label[alku1]; b = c; Label[alku2]; b =b + 1; If[PrimeQ[a + b] && IntegerDigits[a + b] == Reverse[IntegerDigits[a + b]], AppendTo[lst, a], Goto[alku2]]; c = a; a = b; If[a < nn, Goto[alku1]]; lst (* V.J. Pohjola, Nov 25 2010 *)
a[1] = 3; pp = Select[Prime[Range[3000]], PalindromeQ]; lp = Length[pp]-1;
aa = Table[a[n] + a[n+1], {n, lp}]; Array[a, lp] /. Solve[Thread[aa == Rest[pp]]][[1]] (* Jean-François Alcover, Feb 17 2018 *)
CROSSREFS
Sequence in context: A193067 A177886 A011293 * A284662 A292031 A201565
KEYWORD
nonn,easy,base
AUTHOR
N. J. A. Sloane, Nov 18 2010
EXTENSIONS
More terms from Nathaniel Johnston, Nov 22 2010
Last term corrected by Jean-François Alcover, Feb 17 2018
STATUS
approved

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 August 29 14:45 EDT 2024. Contains 375517 sequences. (Running on oeis4.)