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.

A060873 Intrinsic 3-palindromes: n is an intrinsic k-palindrome if it is a k-digit palindrome in some base.

Original entry on oeis.org

5, 7, 10, 13, 16, 17, 20, 21, 23, 25, 26, 29, 31, 34, 36, 37, 38, 41, 42, 43, 46, 49, 50, 51, 52, 55, 57, 59, 61, 62, 63, 64, 65, 67, 71, 72, 73, 74, 78, 80, 81, 82, 83, 85, 86, 88, 89, 91, 92, 93, 97, 98, 100, 101, 104, 105, 107, 109, 111, 113, 114, 117, 118
Offset: 1

Views

Author

Harvey P. Dale, May 05 2001

Keywords

Comments

All numbers are intrinsic 1- and (except 1 and 2) 2-palindromes, almost all numbers are intrinsic 3-palindromes and very few numbers are intrinsic k-palindromes for k >= 4.

Crossrefs

Programs

  • Mathematica
    testQ[n_, k_] := For[b = 2, b <= Ceiling[(n-1)^(1/(k-1))], b++, d = IntegerDigits[n, b]; If[Length[d] == k && d == Reverse[d], Return[True]]]; n0[k_] := 2^(k-1) + 1; Reap[Do[If[testQ[n, 3] === True, Print[n, " ", FromDigits[d], " b = ", b]; Sow[n]], {n, n0[3], 200}]][[2, 1]] (* Jean-François Alcover, Nov 07 2014 *)

A123586 Numbers that are not palindromes of 3 or more digits in some base b >= 2.

Original entry on oeis.org

1, 2, 3, 4, 6, 8, 11, 12, 14, 18, 19, 22, 24, 30, 32, 35, 39, 44, 47, 48, 53, 54, 58, 60, 66, 69, 70, 75, 76, 77, 79, 84, 87, 90, 94, 95, 96, 102, 103, 106, 108, 110, 115, 116, 120, 132, 134, 137, 139, 140, 143, 147, 149, 152, 158, 159, 163, 167, 168, 174, 175, 176
Offset: 1

Views

Author

Keywords

Crossrefs

Cf. A114255 (complement), A016038.
Showing 1-2 of 2 results.