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!)
A152411 Nonnegative integers representable as m^2 - n^4 for positive integers m,n. 2
0, 3, 8, 9, 15, 19, 20, 24, 33, 35, 40, 48, 51, 63, 65, 68, 73, 80, 84, 88, 99, 104, 105, 115, 120, 128, 129, 143, 144, 148, 153, 159, 163, 168, 175, 180, 185, 195, 200, 201, 208, 209, 216, 224, 225, 228, 240, 243, 255, 260, 273, 275, 280, 288, 289, 303, 304, 308, 319, 320 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Nonnegative integers representable as the product u*v with (u-v)/2 being a positive square.
LINKS
MAPLE
filter:= proc(x) local d, u;
d:= select(t -> t^2 > x, numtheory:-divisors(x));
for u in d do if issqr((u-x/u)/2) then return true fi od;
false
end proc:
filter(0):= true:
select(filter, [$0..1000]); # Robert Israel, Nov 06 2017
MATHEMATICA
filterQ[x_] := Catch[With[{d = Select[Divisors[x], #^2 > x&]}, Do[If[IntegerQ[Sqrt[(u-x/u)/2]], Throw[True]], {u, d}]; Throw[False]]];
filterQ[0] = True;
Select[Range[0, 1000], filterQ] (* Jean-François Alcover, Jul 24 2020, after Robert Israel *)
PROG
(PARI) for(k=1, 1000, fordiv(k, d, if(d*d>=k, break); if( issquare((k\d - d)/2), print1(k, ", "); break) ) )
CROSSREFS
Sequence in context: A287579 A289142 A101065 * A080517 A264898 A248194
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Oct 24 2009, based on email from Joerg Arndt, Oct 10 2009
EXTENSIONS
Edited and extended by Max Alekseyev, Feb 06 2010
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 23 23:26 EDT 2024. Contains 371917 sequences. (Running on oeis4.)