[go: up one dir, main page]

login
Revision History for A216451 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
Numbers which are simultaneously of the form x^2+y^2, x^2+2y^2, x^2+3y^2, x^2+7y^2, all with x>0, y>0.
(history; published version)
#22 by N. J. A. Sloane at Tue Sep 11 11:08:45 EDT 2012
STATUS

editing

approved

#21 by N. J. A. Sloane at Tue Sep 11 11:08:39 EDT 2012
CROSSREFS

Intersection of A001481, A002479, A003136 and A020670, omitting squares. See also A216500. - N. J. A. Sloane, Sep 11 2012

STATUS

approved

editing

#20 by N. J. A. Sloane at Tue Sep 11 11:06:37 EDT 2012
STATUS

editing

approved

#19 by N. J. A. Sloane at Tue Sep 11 11:06:34 EDT 2012
NAME

Numbers which can be written as aare simultaneously of the form x^2+by^2, ax^2+2*b2y^2, ax^2+3*b3y^2, ax^2+7*b7y^2, where a all with x> 0, b y> 0.

CROSSREFS

Cf. A001481, A154777, A092572.

Intersection of A001481, A002479, A003136 and A020670, omitting squares. - N. J. A. Sloane, Sep 11 2012

EXTENSIONS

Definition clarified by N. J. A. Sloane, Sep 11 2012

STATUS

approved

editing

#18 by T. D. Noe at Sat Sep 08 15:16:39 EDT 2012
STATUS

editing

approved

#17 by T. D. Noe at Sat Sep 08 15:16:35 EDT 2012
COMMENTS

A number can be written as a^2+b^2 if and only if it has got no prime factor congruent to 3 (mod 4) raised to an odd power.

A number can be written as a^2+2*b^2 if and only if it has got no prime factor congruent to 5 (mod 8) or 7 (mod 8) raised to an odd power.

A number can be written as a^2+3*b^2 if and only if it has got no prime factor congruent to 2 (mod 3) raised to an odd power.

A number can be written as a^2+7*b^2 if and only if it has got no prime factor congruent to 3 (mod 7) or 5 (mod 7) or 6 (mod 7) raised to an odd power. Also the power of 2 should not be 1, if it can be written in the form a^2+7*b^2.

#16 by T. D. Noe at Sat Sep 08 15:15:21 EDT 2012
MATHEMATICA

nn = 4657; lim = Floor[Sqrt[nn]]; t1 = Select[Union[Flatten[Table[a^2 + b^2, {a, lim}, {b, lim}]]], # <= nn &]; t2 = Select[Union[Flatten[Table[a^2 + 2* b^2, {a, lim}, {b, lim/Sqrt[2]}]]], # <= nn &]; t3 = Select[Union[Flatten[Table[a^2 + 3* b^2, {a, lim}, {b, lim/Sqrt[3]}]]], # <= nn &]; t7 = Select[Union[Flatten[Table[a^2 + 7* b^2, {a, lim}, {b, lim/Sqrt[7]}]]], # <= nn &]; Intersection[t1, t2, t3, t7] (* T. D. Noe, Sep 08 2012 *)

#15 by T. D. Noe at Sat Sep 08 15:13:11 EDT 2012
MATHEMATICA

nn = 4657; lim = Floor[Sqrt[nn]]; t1 = Select[Union[Flatten[Table[a^2 + b^2, {a, lim}, {b, lim}]]], # <= nn &]; t2 = Select[Union[Flatten[Table[a^2 + 2* b^2, {a, lim}, {b, lim/Sqrt[2]}]]], # <= nn &]; t3 = Select[Union[Flatten[Table[a^2 + 3* b^2, {a, lim}, {b, lim/Sqrt[3]}]]], # <= nn &]; t7 = Select[Union[Flatten[Table[a^2 + 7* b^2, {a, lim}, {b, lim/Sqrt[7]}]]], # <= nn &]; Intersection[t1, t2, t3, t7] (* T. D. Noe, Sep 08 2012 *)

STATUS

proposed

editing

#14 by V. Raman at Sat Sep 08 13:22:33 EDT 2012
STATUS

editing

proposed

#13 by V. Raman at Sat Sep 08 04:49:10 EDT 2012
COMMENTS

A number can be written as a^2+7*b^2 if and only if it has got no prime factor congruent to 3 (mod 7) or 5 (mod 7) or 6 (mod 7) raised to an odd power. Also the power of 2 and some even numbers cannot should not be 1, if it can be written in the form a^2+7*b^2.