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.

A229107 Palindromic prime time display in hours, minutes, seconds on a six-digit 24-hour digital clock.

Original entry on oeis.org

2, 3, 5, 7, 11, 101, 131, 151, 313, 353, 727, 757, 919, 929, 10301, 10501, 10601, 11311, 11411, 12421, 12721, 12821, 13331, 13831, 13931, 14341, 14741, 15451, 15551, 30103, 30203, 30403, 30703, 30803, 31013, 31513, 32323, 32423, 33533, 34543, 34843, 35053
Offset: 1

Views

Author

Shyam Sunder Gupta, Sep 13 2013

Keywords

Comments

Leading zeros are ignored, so the term a(7) = 131, for example, corresponds to the display 00:01:31. Sequence has 69 entries.

Examples

			151 is in the sequence because it is palindromic prime and displays the time as 00:01:51.
		

Crossrefs

Programs

  • Mathematica
    palindromicQ[n_] := TrueQ[IntegerDigits[n] == Reverse[IntegerDigits[n]]]; Select[Select[Table[10000 hr + 100 mnt + sec, {hr, 0, 23}, {mnt, 0, 59}, {sec, 0, 59}] // Flatten, palindromicQ@# &], PrimeQ]