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!)
A333712 Numbers k that can be written as the sum of two nonzero squares whose difference divides k^2. 0
40, 45, 136, 160, 180, 325, 360, 369, 405, 544, 640, 720, 936, 1000, 1125, 1224, 1225, 1300, 1440, 1476, 1620, 1800, 1960, 2080, 2176, 2205, 2560, 2664, 2880, 2925, 3240, 3321, 3400, 3645, 3744, 3825, 4000, 4500, 4840, 4896, 4900, 5200, 5445, 5760, 5800, 5904 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
40 is in the sequence since 40 = 4 + 36 (both squares) and (36 - 4) = 32 | 40^2 = 1600.
MATHEMATICA
Flatten[Table[If[Sum[(Floor[Sqrt[i]] - Floor[Sqrt[i - 1]]) (Floor[Sqrt[n - i]] - Floor[Sqrt[n - i - 1]]) (1 - Ceiling[n^2/(n - 2 i)] + Floor[n^2/(n - 2 i)]), {i, Floor[(n - 1)/2]}] > 0, n, {}], {n, 500}]]
CROSSREFS
Cf. A004431.
Sequence in context: A346804 A364997 A046796 * A204746 A197734 A114839
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Apr 03 2020
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 June 1 12:42 EDT 2024. Contains 373023 sequences. (Running on oeis4.)