[go: up one dir, main page]

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!)
A155577 Intersection of A154777 and A154778: N = a^2 + 2b^2 = c^2 + 5d^2 for some positive integers a,b,c,d. 1
6, 9, 24, 36, 41, 54, 81, 86, 89, 96, 129, 134, 144, 150, 164, 166, 201, 214, 216, 225, 241, 246, 249, 281, 294, 321, 324, 326, 344, 356, 369, 384, 401, 409, 441, 449, 454, 486, 489, 516, 521, 534, 536, 566, 569, 576, 600, 601, 614, 641, 656, 664, 681, 694 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Subsequence of A155567 (where a,b,c,d may be zero).
LINKS
PROG
(PARI) isA155577(n, /* optional 2nd arg allows us to get other sequences */c=[5, 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, isA155577(n) & print1(n", "))
CROSSREFS
Sequence in context: A295726 A034718 A215528 * A084431 A176498 A142877
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 August 29 11:15 EDT 2024. Contains 375512 sequences. (Running on oeis4.)