A258766 Fixed points in A256271.
1, 2, 3, 26, 32, 34, 37, 49, 55, 62, 64, 74, 75, 76, 77, 164, 171, 189, 224, 273, 279, 280, 285, 303, 333, 345, 356, 363, 368, 382, 399, 411, 416, 422, 429, 430, 435, 441, 453, 470, 472, 483, 494, 524, 539, 561, 566, 579, 580, 585, 603, 609, 621, 644, 662, 666, 674, 693, 704, 715, 737, 771, 777, 794, 803
Offset: 1
Links
- Robert Israel, Table of n, a(n) for n = 1..1000
Programs
-
Maple
Res:= 1: count:= 1: v:= 1: Cands:= [$2..1000]: for n from 2 do found:= false; for j from 1 to nops(Cands) do if numtheory:-issqrfree(v + Cands[j]^2) then found:= true; if n = Cands[j] then Res:= Res, n; count:= count+1 fi; v:= Cands[j]^2; Cands:= subsop(j=NULL, Cands); break fi od; if not found then break fi; od: Res; # Robert Israel, Jul 16 2019
-
PARI
print1(1,", ");v=[1]; n=1; while(#v<10^3, if(issquarefree(n^2+v[#v]^2)&&!vecsearch(vecsort(v), n), if(n==#v, print1(n, ", ")); n=0); n++)
Comments