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.

A178773 Least palindrome which is the product of n consecutive primes.

Original entry on oeis.org

1, 2, 6, 1001, 5005, 323323
Offset: 0

Views

Author

Robert G. Wilson v, Jun 11 2010

Keywords

Comments

A proper subset of A169829.
The next term must exceed the product of 6 primes whose prime index is at least 125000000.

Programs

  • Mathematica
    fQ[k_, n_] := Block[{j = Fold[ Times, 1, Prime[Range[k, k + n]]]}, j == FromDigits@ Reverse@ IntegerDigits@ j]; lst = {}; Do[k = 1; While[ ! fQ[k, n], k++ ]; Print[{n + 1, Fold[Times, 1, Prime[Range[k, k + n]]]}], {n, -1, 4}]

Formula

a(3) = 1001 = 7*11*13,
a(4) = 5005 = 5*7*11*13,
a(5) = 323323 = 7*11*13*17*19.