A377050 Position of first appearance of zero in the n-th differences of the nonsquarefree numbers, or 0 if it does not appear.
0, 0, 5, 11, 4, 129, 10, 89, 16, 161, 72, 77325, 71, 4870, 70, 253, 75, 737923, 166, 1648316, 165, 8753803, 164, 208366710, 163, 99489971, 162, 49493333, 161
Offset: 0
Examples
The fourth differences of A013929 begin: -6, -2, 5, 0, -7, 9, -6, 6, -7, ... so a(4) = 4.
Links
- Lucas A. Brown, Python program.
Crossrefs
Programs
-
Mathematica
nn=10000; u=Table[Differences[Select[Range[nn],!SquareFreeQ[#]&],k],{k,2,16}]; mnrm[s_]:=If[Min@@s==1,mnrm[DeleteCases[s-1,0]]+1,0]; m=Table[Position[u[[k]],0][[1,1]],{k,mnrm[Union[First/@Position[u,0]]]}]
Extensions
a(17)-a(28) from Lucas A. Brown, Oct 25 2024
Comments