OFFSET
1,2
COMMENTS
All terms are divisible by 16. - Robert Israel, Oct 10 2019
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
ss:= proc(n) option remember;
andmap(t -> t[2]::even or t[1] mod 4 <> 3, ifactors(n)[2])
end proc:
select(k -> ss(k) and ss(k+1) and ss(k+2) and ss(k+4), 16*[$0..10^4]); # Robert Israel, Oct 10 2019
MATHEMATICA
ok[n_] := AllTrue[{0, 1, 2, 4}, SquaresR[2, #+n] > 0 &]; Select[ Range[0, 32400], ok] (* Giovanni Resta, Oct 08 2019 *)
PROG
(Magma) [k:k in [0..33000]| forall{k+a: a in [0, 1, 2, 4]|NormEquation(1, k+a) eq true}]; // Marius A. Burtea, Oct 08 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Max Alekseyev, Oct 08 2019
STATUS
approved