login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A155712 Intersection of A092572 and A155716: N = a^2 + 3b^2 = c^2 + 6d^2 for some positive integers a,b,c,d. 0
7, 28, 31, 49, 63, 73, 79, 97, 100, 103, 112, 124, 127, 151, 175, 193, 196, 199, 217, 223, 241, 252, 271, 279, 292, 313, 316, 337, 343, 367, 388, 400, 409, 412, 433, 439, 441, 448, 457, 463, 484, 487, 496, 508, 511, 553, 567, 577, 601, 604, 607, 631, 657, 673 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
PROG
(PARI) isA155712(n, /* optional 2nd arg allows us to get other sequences */c=[6, 3]) = { 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, isA155712(n) & print1(n", "))
CROSSREFS
Sequence in context: A200974 A184331 A267432 * A015817 A103253 A321777
KEYWORD
easy,nonn
AUTHOR
M. F. Hasler, Jan 25 2009
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 07:53 EDT 2024. Contains 371964 sequences. (Running on oeis4.)