OFFSET
1,3
COMMENTS
It appears to be the union of {0, 3} and A005574.
EXAMPLE
3 is a term since the proper divisors of 3^2 + 1 = 10 are 1 = 0^2 + 1, 2 = 1^1 + 1, 5 = 2^2 + 1;
6 is a term since 6^2 + 1 = 37 is prime and the only proper divisor 1 = 0^2 + 1;
8 is not a term since the divisor 13 of 8^2 + 1 = 65 is not of the form m^2 + 1.
MATHEMATICA
Sqrt[Select[Range[0, 400]^2, AllTrue[Sqrt[Divisors[#+1]-1], IntegerQ]&]]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Stefano Spezia, Nov 30 2025
STATUS
approved
