cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A274044 Squarefree numbers that are the sum of two squares in more than one way.

This page as a plain text file.
%I A274044 #15 Oct 23 2019 10:14:01
%S A274044 65,85,130,145,170,185,205,221,265,290,305,365,370,377,410,442,445,
%T A274044 481,485,493,505,530,533,545,565,610,629,685,689,697,730,745,754,785,
%U A274044 793,865,890,901,905,949,962,965,970,985,986,1010,1037,1066,1073,1090,1105,1130,1145
%N A274044 Squarefree numbers that are the sum of two squares in more than one way.
%C A274044 Squarefree numbers that are the sum of two nonzero squares in more than one way.
%H A274044 Amiram Eldar, <a href="/A274044/b274044.txt">Table of n, a(n) for n = 1..10000</a>
%F A274044 A005117 INTERSECT A007692. - _R. J. Mathar_, Feb 01 2017
%e A274044 65 is a term because 65 = 5*13 = 1^2 + 8^2 = 4^2 + 7^2.
%o A274044 (PARI) isA007692(n) = {nb = 0; lim = sqrtint(n); for (x=1, lim, if ((n-x^2 >= x^2) && issquare(n-x^2), nb++); ); nb >= 2; }
%o A274044 lista(nn) = for(n=1, nn, if(isA007692(n) && issquarefree(n), print1(n, ", ")));
%Y A274044 Cf. A005117, A007692, A020893.
%K A274044 nonn
%O A274044 1,1
%A A274044 _Altug Alkan_, Jun 07 2016