A225127 Convolutory inverse of the nonprimes.
1, -4, 10, -24, 59, -146, 360, -886, 2182, -5376, 13244, -32624, 80364, -197968, 487672, -1201319, 2959297, -7289859, 17957662, -44236464, 108971015, -268436517, 661259918, -1628931424, 4012669610, -9884711639, 24349755585, -59982589144, 147759635098
Offset: 1
Examples
(1,4,6,8,9,...)**(1,-4,10,-24,59,...) = (1,0,0,0,0,...), where ** denotes convolution.
Links
- Clark Kimberling, Table of n, a(n) for n = 1..1000
Programs
-
Mathematica
z = 1000; c = Complement[Range[z], Prime[Range[PrimePi[z]]]]; r[n_] := r[n] = c[[n]]; k[n_] := k[n] = 0; k[1] = 1; a[n_] := a[n] = (k[n] - Sum[r[i]*a[n - i + 1], {i, 2, n}])/r[1]; t = Table[a[n], {n, 1, 40}] (* A225127 *)
Comments