OFFSET
1,1
COMMENTS
Heath-Brown (following Estermann) shows that, for any e > 0, there are k sqrt(x) + O(x^{7/24 + e}) members of this sequence up to x, for k = Product(1 - 2/p^2) = 0.8948412245... (A335963) where the product is over primes p = 1 mod 4. - Charles R Greathouse IV, Nov 19 2012, corrected by Amiram Eldar, Jul 08 2020
Integers k for which the period of the continued fraction of sqrt(k) is 1. - Michel Marcus, Apr 12 2019
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
T. Estermann, Einige Sätze über quadratfreie Zahlen, Math. Ann. 105 (1931), pp. 653-662.
D. R. Heath-Brown, Square-free values of n^2 + 1, arXiv:1010.6217 [math.NT], 2010-2012.
D. R. Heath-Brown, Square-free values of n^2 + 1, Acta Arithmetica 155 (2012), pp. 1-13.
FORMULA
a(n) = A049533(n)^2 + 1.
MAPLE
select(numtheory:-issqrfree, [seq(n^2+1, n=1..100)]); # Robert Israel, Feb 09 2016
MATHEMATICA
Select[ Range[10^4], IntegerQ[ Sqrt[ # - 1]] && Union[ Transpose[ FactorInteger[ # ]] [[2]]] [[ -1]] == 1 &]
Select[Range[60]^2+1, SquareFreeQ] (* Harvey P. Dale, Mar 21 2013 *)
PROG
(PARI) for(n=1, 100, if(issquarefree(n^2+1), print1(n^2+1, ", ")))
CROSSREFS
KEYWORD
nonn
AUTHOR
Sharon Sela (sharonsela(AT)hotmail.com), May 01 2002
EXTENSIONS
STATUS
approved