OFFSET
1,9
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..130
FORMULA
EXAMPLE
a(11) = 5 because A002113(11) = 22 and 111 = 5*22+1.
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 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy and Meenakshi Srikanth (menakan_s(AT)yahoo.com), May 03 2003
EXTENSIONS
Corrected and extended by David Wasserman, Nov 16 2004
STATUS
approved