STATUS
reviewed
approved
reviewed
approved
proposed
reviewed
editing
proposed
E. Grosswald, E.; Representation of Integers as Sums of Squares, Springer-Verlag, New York Inc., (1985), p.15. - Ant King, Nov 02 2010
proposed
editing
editing
proposed
(Python)
from itertools import count, islice
from sympy import factorint
def A000415_gen(startvalue=2): # generator of terms >= startvalue
for n in count(max(startvalue, 2)):
f = factorint(n).items()
if any(e&1 for p, e in f if p&3<3) and not any(e&1 for p, e in f if p&3==3):
yield n
A000415_list = list(islice(A000415_gen(), 20)) # Chai Wah Wu, Aug 01 2023
approved
editing
editing
approved
Equals { A000404- } minus { A134422 }. - Artur Jasinski, Oct 25 2007
approved
editing
reviewed
approved
proposed
reviewed