|
Search: id:A155709
|
|
|
| A155709 |
|
Intersection of A154777 and A155716: N = a^2 + 2b^2 = c^2 + 6d^2 for some positive integers a,b,c,d. |
|
+0 2
|
|
| 22, 33, 73, 88, 97, 118, 121, 132, 150, 166, 177, 193, 198, 214, 225, 241, 249, 262, 292, 294, 297, 313, 321, 337, 352, 358, 388, 393, 409, 433, 438, 441, 454, 457, 472, 484, 502, 528, 537, 550, 577, 582, 600, 601, 649, 657, 664, 673, 681, 694, 708, 726, 753
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
COMMENT
|
Subsequence of A155569 (where a,b,c,d may be zero).
|
|
PROGRAM
|
(PARI) isA155709(n, /* optional 2nd arg allows us to get other sequences */c=[6, 2]) = { for(i=1, #c, for(b=1, sqrtint((n-1)\c[i]), issquare(n-c[i]*b^2) & next(2)); return); 1}
for( n=1, 999, isA155709(n) & print1(n", "))
|
|
CROSSREFS
|
Cf. A000404, A154777, A092572, A097268, A154778, A155716, ...
Sequence in context: A116063 A131317 A067087 this_sequence A095044 A020151 A071265
Adjacent sequences: A155706 A155707 A155708 this_sequence A155710 A155711 A155712
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
M. F. Hasler (MHasler(AT)univ-ag.fr), Jan 25 2009
|
|
|
Search completed in 0.002 seconds
|