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!)
A328223 Numbers k such that both k and k+4 are sums of two squares. 1
0, 1, 4, 5, 9, 13, 16, 25, 32, 36, 37, 41, 45, 49, 61, 64, 68, 81, 85, 97, 100, 109, 113, 117, 121, 144, 145, 149, 153, 160, 169, 181, 193, 196, 208, 221, 225, 229, 241, 256, 257, 261, 265, 277, 288, 289, 292, 313, 320, 324, 333, 349, 356, 361, 365, 369, 373, 388, 397, 400 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
MATHEMATICA
ok[n_] := AllTrue[{0, 4}, SquaresR[2, # + n] > 0 &]; Select[Range[0, 400], ok] (* Giovanni Resta, Oct 08 2019 *)
PROG
(Magma) [k: k in [0..400] | NormEquation(1, k) eq true and NormEquation(1, k+4) eq true]; // Marius A. Burtea, Oct 08 2019
CROSSREFS
Subsequence of A001481. Contains A328224 as a subsequence.
Sequence in context: A331531 A363319 A363267 * A363282 A116045 A096818
KEYWORD
nonn
AUTHOR
Max Alekseyev, Oct 08 2019
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 25 01:35 EDT 2024. Contains 371964 sequences. (Running on oeis4.)