OFFSET
1,1
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..1000
László Tóth, Counting solutions of quadratic congruences in several variables revisited, arXiv preprint arXiv:1404.4214 [math.NT], 2014.
László Tóth, Counting Solutions of Quadratic Congruences in Several Variables Revisited, J. Int. Seq. 17 (2014), # 14.11.6.
EXAMPLE
21 = 3*7, so a(2) = 7.
MATHEMATICA
Table[First[Last[FactorInteger[10n + 1]]], {n, 1, 80}]
PROG
(PARI) { for (n=1, 1000, f=factor(10*n + 1)~; write("b060954.txt", n, " ", f[1, length(f)]); ) } \\ Harry J. Smith, Jul 19 2009
(Python)
from sympy import factorint
def a(n): return max(factorint(10*n+1))
print([a(n) for n in range(1, 62)]) # Michael S. Branicky, Nov 07 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
J. Lowell, May 08 2001
EXTENSIONS
More terms from Reiner Martin, Jul 07 2001
STATUS
approved