OFFSET
1,5
COMMENTS
LINKS
Michel Lagneau, Table of n, a(n) for n = 1..20000
EXAMPLE
a(8) = 1 because 30^2 + 1 = 17*53 and floor(30/17) = 1.
Or a(8) = a(A247340(2)) = 1.
MAPLE
with(numtheory):
for n from 1 to 200 do:
p:=n^2+1:x:=factorset(p):d:=floor(n/x[1]):
printf(`%d, `, d):
od:
MATHEMATICA
Table[Floor[n/ FactorInteger[n^2+1][[ 1, 1]]], {n, 100}]
PROG
(PARI) a(n) = n\factor(n^2+1)[1, 1]; \\ Michel Marcus, Oct 25 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Lagneau, Oct 21 2014
STATUS
approved