login
Smallest positive integer k such that A000037(n) is not a quadratic residue modulo k.
1

%I #11 Aug 09 2015 23:54:36

%S 3,4,3,4,4,3,4,3,5,5,3,4,3,4,4,3,8,4,3,7,3,4,5,3,4,4,3,5,4,3,5,3,4,7,

%T 3,4,4,3,7,4,3,5,3,4,5,3,4,4,3,5,4,3,9,7,3,4,3,4,4,3,7,4,3,5,5,3,4,7,

%U 3,4,4,3,4,3,9,8,3,4,5,3,4,4,3,5,4,3,7,5,3,4,3,4,4,3,9,4,3,5,8,3,4,5,3,4,4

%N Smallest positive integer k such that A000037(n) is not a quadratic residue modulo k.

%C The nonzero terms of A139401.

%F a(n) = A139401(A000037(n)).

%e a(1) = 3 because the first nonsquare positive integer is 2 and 2 is not a quadratic residue modulo 3.

%K nonn

%O 1,1

%A Guilherme de Queiroz Hobbs (guilhermehobbs(AT)uol.com.br), Jan 08 2005

%E Corrected and extended by _David Wasserman_, Mar 04 2008

%E Edited by _Max Alekseyev_, May 11 2010