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.

A083478 a(n) is the smallest k > 0 such that k*Palindrome(n)+1 is a palindrome.

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 1, 1, 6, 10, 5, 7, 8, 2, 9, 3, 4, 6, 100, 10, 5, 4, 3, 2, 2, 2, 2, 2, 50, 50, 5, 4, 3, 2, 2, 2, 2, 2, 40, 40, 40, 7, 797, 2, 2, 2, 2, 2, 25, 30, 25, 420, 8, 2, 2, 2, 2, 2, 20, 20, 20, 20, 20, 2, 32, 117, 24, 28, 20, 20, 20, 20, 20, 89, 9, 52, 1870, 150, 20, 20, 20, 20, 20, 85
Offset: 1

Views

Author

Amarnath Murthy and Meenakshi Srikanth (menakan_s(AT)yahoo.com), May 03 2003

Keywords

Examples

			a(11) = 5 because A002113(11) = 22 and 111 = 5*22+1.
		

Crossrefs

Cf. A083477.

Programs

  • Mathematica
    skpal[n_]:=Module[{k=1},While[!PalindromeQ[k*n+1],k++];k]; skpal/@Select[ Range[ 1000],PalindromeQ] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jul 22 2018 *)

Formula

a(n) = (A083477(n)-1)/A002113(n). a(n) = A082744(A002113(n)). - David Wasserman, Nov 16 2004

Extensions

Corrected and extended by David Wasserman, Nov 16 2004
Showing 1-1 of 1 results.