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.

A230083 Smaller of two consecutive primes whose product of digits is equal and nonzero.

Original entry on oeis.org

1913, 2819, 6719, 14519, 16319, 18379, 19319, 21419, 29819, 34613, 35617, 35879, 36979, 37379, 37619, 37813, 39119, 45613, 46619, 46919, 49279, 51613, 55313, 56179, 56713, 58613, 62219, 63179, 65479, 66413, 74779, 75913, 76213, 76579, 76679, 79319, 82619
Offset: 1

Views

Author

Shyam Sunder Gupta, Oct 08 2013

Keywords

Examples

			1913 is in the sequence because 1913 and 1931 are consecutive primes and the product of the digits of each = 27.
		

Crossrefs

Programs

  • Mathematica
    a = {}; m = 1; s = 1; Do[If[(y = Apply[Times, IntegerDigits[x = Prime[n]]]) == s && s != 0, m = m + 1; If[m > 1, AppendTo[a, Prime[n - 1]]], m = 1]; s = y, {n, 1, 10000}]; a