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.

Showing 1-2 of 2 results.

A043036 Base 10 palindromes that start with 1.

Original entry on oeis.org

1, 11, 101, 111, 121, 131, 141, 151, 161, 171, 181, 191, 1001, 1111, 1221, 1331, 1441, 1551, 1661, 1771, 1881, 1991, 10001, 10101, 10201, 10301, 10401, 10501, 10601, 10701, 10801, 10901, 11011, 11111, 11211, 11311, 11411, 11511, 11611, 11711, 11811, 11911
Offset: 1

Views

Author

Keywords

Comments

Union of A222723 (palindromic primes starting with a digit 1) and A222724 (palindromic nonprime numbers starting with a digit 1). - Jaroslav Krizek, Mar 03 2013

Crossrefs

Cf. A002113 (palindromes in base 10).

Programs

  • Mathematica
    palQ[n_Integer, base_Integer] := Module[{idn = IntegerDigits[n, base]}, idn == Reverse[idn]]; Select[Range[0, 20000], IntegerDigits[#][[1]] == 1 && palQ[#, 10] &] (* T. D. Noe, Mar 12 2013 *)

A222723 Palindromic primes starting with a digit 1.

Original entry on oeis.org

11, 101, 131, 151, 181, 191, 10301, 10501, 10601, 11311, 11411, 12421, 12721, 12821, 13331, 13831, 13931, 14341, 14741, 15451, 15551, 16061, 16361, 16561, 16661, 17471, 17971, 18181, 18481, 19391, 19891, 19991, 1003001, 1008001, 1022201, 1028201, 1035301, 1043401
Offset: 1

Views

Author

Jaroslav Krizek, Mar 03 2013

Keywords

Comments

Subsequence of A002385 (palindromic primes) and A002113 (palindromic numbers). Complement of A222724 (palindromic nonprime numbers starting with a digit 1) with respect to A043036 (palindromic numbers starting with a digit 1).

Crossrefs

Programs

  • Mathematica
    Select[Prime[Range[85000]],PalindromeQ[#]&&IntegerDigits[#][[1]]==1&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Mar 14 2018 *)
Showing 1-2 of 2 results.