[seqfan] Re: A140612 is A160053 ?

israel at math.ubc.ca israel at math.ubc.ca
Mon Mar 26 00:26:58 CEST 2018


Yes, this follows easily from the "sum of two squares theorem": x is the 
sum of two (nonnegative) squares iff its prime factorization doesn't 
contain p^e where p == 3 (mod 4) and e is odd.

Cheers,
Robert


On Mar 25 2018, Alex Meiburg wrote:

>Can anyone confirm that these two sequences are the same? A140612 is
>"Positive integers k such that both k and k+1 are the sum of 2 squares",
>and A160053 is "Numbers k with property that k*(k+1)/2 is sum of two
>nonnegative squares". As far as I checked, they seem to be equal, but there
>are no xrefs.
>
>-- Alexander Meiburg
>
>--
>Seqfan Mailing list - http://list.seqfan.eu/
>
>



More information about the SeqFan mailing list