cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A030522 Product of first n palindromic primes minus 1.

Original entry on oeis.org

1, 5, 29, 209, 2309, 233309, 30563609, 4615105109, 835334024909, 159548798757809, 49938774011194529, 17628387225951669089, 6575388435279972570569, 2518373770712229494528309
Offset: 1

Views

Author

Keywords

Comments

The subsequence which are themselves primes begins: 5, 29, 2309, 4615105109, 2518373770712229494528309. - Jonathan Vos Post, Feb 09 2011

Crossrefs

Programs

  • Mathematica
    palQ[n_]:=Module[{idn=IntegerDigits[n]},idn==Reverse[idn]]; #-1&/@Rest[ FoldList[ Times,1,Select[Prime[Range[200]],palQ]]] (* Harvey P. Dale, Jun 21 2011 *)
    FoldList[Times,Select[Prime[Range[100]],PalindromeQ]]-1 (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Dec 29 2018 *)

Extensions

Corrected and extended by Larry Reeves (larryr(AT)acm.org), Sep 25 2000
Corrected by D. S. McNeil, Aug 20 2010