A176032 Absolute values of A106044-A056892.
1, 1, 3, 1, 3, 1, 7, 3, 5, 3, 1, 11, 3, 1, 9, 7, 5, 9, 11, 3, 1, 13, 15, 3, 13, 19, 15, 7, 3, 5, 11, 3, 9, 13, 15, 11, 1, 13, 21, 19, 7, 3, 17, 21, 27, 23, 1, 25, 27, 23, 15, 3, 1, 21, 31, 19, 7, 3, 9, 17, 21, 27, 1, 9, 13, 21, 23, 11, 9, 13, 21, 33, 27, 15, 3, 5, 17, 33, 39, 23, 3, 1, 21, 25
Offset: 1
Keywords
Programs
-
Mathematica
f[n_]:=Floor[Sqrt[n]];lst={};Do[p=Prime[n];AppendTo[lst,Abs[((f[p]+1)^2-p)-(p-f[p]^2)]],{n,3*5!}];lst
Comments