The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A155567 Intersection of A002479 and A020669 : N = a^2 + 2b^2 = c^2 + 5d^2 for some integers a,b,c,d. 1
0, 1, 4, 6, 9, 16, 24, 25, 36, 41, 49, 54, 64, 81, 86, 89, 96, 100, 121, 129, 134, 144, 150, 164, 166, 169, 196, 201, 214, 216, 225, 241, 246, 249, 256, 281, 289, 294, 321, 324, 326, 344, 356, 361, 369, 384, 400, 401, 409, 441, 449, 454, 484, 486, 489, 516, 521 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Contains A155577 as a subsequence (obtained by restricting a,b,c,d to be nonzero). Also contains A000290 (squares) as subsequence.
LINKS
PROG
(PARI) isA155567(n, /* use optional 2nd arg to get other analogous sequences */c=[5, 2]) = { for(i=1, #c, for(b=0, sqrtint(n\c[i]), issquare(n-c[i]*b^2) & next(2)); return); 1}
for( n=1, 600, isA155567(n) & print1(n", "))
CROSSREFS
Sequence in context: A181018 A155569 A189484 * A225377 A036667 A371843
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 May 20 14:08 EDT 2024. Contains 372717 sequences. (Running on oeis4.)