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!)
A155570 Intersection of A003136 and A020669: N = a^2 + 3b^2 = c^2 + 5d^2 for some integers a,b,c,d. 1
0, 1, 4, 9, 16, 21, 25, 36, 49, 61, 64, 81, 84, 100, 109, 121, 129, 144, 169, 181, 189, 196, 201, 225, 229, 241, 244, 256, 289, 301, 309, 324, 336, 349, 361, 381, 400, 409, 421, 436, 441, 469, 484, 489, 516, 525, 529, 541, 549, 576, 601, 625, 661, 669, 676, 709 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Contains A155710 as a subsequence (obtained by restricting a,b,c,d to be nonzero). Also contains A000290 (squares) as subsequence.
LINKS
PROG
(PARI) isA155570(n, /* use optional 2nd arg to get other analogous sequences */c=[5, 3]) = { for(i=1, #c, for(b=0, sqrtint(n\c[i]), issquare(n-c[i]*b^2) & next(2)); return); 1}
for( n=0, 800, isA155570(n) & print1(n", "))
CROSSREFS
Sequence in context: A010421 A286069 A010445 * A313341 A313342 A140868
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 18 04:24 EDT 2024. Contains 371767 sequences. (Running on oeis4.)