OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
a(1)=3, because 3^2 + 1 = 10 is composite squarefree.
a(2)=5, because 5^2 + 1 = 26 is composite squarefree.
a(3)=8, because 8^2 + 1 = 50 is composite squarefree.
MAPLE
ts_fn4:=proc(n) local i, tren, ans; ans:=[ ]: for i from 1 to n do tren := i^(2)+1: if (isprime(tren) = false and numtheory[mobius] (tren) <> 0 ) then ans:=[ op(ans), i ]: fi od: RETURN(ans) end: ts_fn4(200);
MATHEMATICA
Select[Range[100], CompositeQ[#^2+1] && SquareFreeQ[#^2+1] &] (* Amiram Eldar, Feb 22 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jani Melik, Jan 18 2008
EXTENSIONS
Definition corrected by T. D. Noe, Sep 16 2008
STATUS
approved