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!)
A051954 a(n) = smallest palindrome > a(n-1) such that a(1)*a(2)*...*a(n) - 1 is a prime. 3
3, 4, 5, 6, 8, 9, 11, 22, 88, 232, 272, 303, 333, 383, 434, 454, 555, 787, 797, 848, 999, 1331, 3663, 6666, 10201, 14041, 15951, 17271, 21912, 22122, 24442, 26662, 33433, 35053, 40504, 40804, 44344, 44644, 44844, 45754, 55955, 67976, 72227, 72627 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
nxt[{p_, a_}]:=Module[{k=a+1}, While[!PalindromeQ[k]||!PrimeQ[p*k-1], k++]; {p*k, k}]; NestList[nxt, {3, 3}, 50][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, May 22 2021 *)
CROSSREFS
Subsequence of A002113.
Sequence in context: A292868 A051957 A139483 * A049821 A023729 A299114
KEYWORD
nice,nonn,base
AUTHOR
Felice Russo, Dec 21 1999
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 April 20 00:58 EDT 2024. Contains 371798 sequences. (Running on oeis4.)