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-1 of 1 results.

A082744 Smallest k such that nk + 1 is a palindrome.

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 1, 1, 6, 1, 10, 10, 5, 7, 8, 2, 10, 3, 4, 5, 1, 5, 14, 5, 4, 5, 2, 5, 3, 4, 12, 1, 7, 5, 4, 5, 30, 2, 8, 3, 14, 12, 1, 8, 4, 7, 9, 30, 2, 2, 17, 6, 200, 1, 2, 7, 6, 16, 7, 2, 20, 6, 8, 265, 1, 9, 3, 8, 7, 2, 421, 7, 8, 15, 2, 1, 3, 4, 12, 2, 74, 7, 4, 6, 2, 135, 1, 4, 6, 2, 11000, 8
Offset: 1

Views

Author

Amarnath Murthy, Apr 15 2003

Keywords

Crossrefs

Cf. A082743.

Programs

  • Mathematica
    f[n_] := Block[{k = 1}, While[ FromDigits[ Reverse[ IntegerDigits[k*n + 1]]] != k*n + 1, k++ ]; k]; Table[ f[n], {n, 1, 92}]

Extensions

Edited and extended by Robert G. Wilson v, Apr 19 2003
Showing 1-1 of 1 results.