login
A071167
a(n) = A023194 - A062700(n). Negative values of A071166(m) = m-A006530(A000203(m)) differences. In these cases m is square number from A023194.
1
-1, -3, -4, -15, -6, -63, -18, -364, -42, -400, -60, -4095, -72, -90, -102, -3906, -132, -168, -2380, -174, -65535, -5220, -294, -384, -262143, -12720, -678, -702, -265720, -744, -762, -774, -828, -840, -25260, -858, -912, -1092, -1098, -1164, -1182, -1194, -1218, -1374, -1428, -1488, -1560
OFFSET
1,2
FORMULA
Values of m - A006530(A000203(m)) differences, when m < A006530(A000203(m)).
EXAMPLE
m=29929=173, sigma[29929]=1+173+29929=30103 and 29929-30103=-174, the 20th term here.
MATHEMATICA
ma[x_] := Part[Reverse[Flatten[FactorInteger[x]]], 2] Do[s=n-ma[DivisorSigma[1, n]]; If[Equal[Sign[s], -1], Print[s]], {n, 2, 10000000}]
PROG
(PARI) for(n=1, 1e3, if(isprime(s=sigma(n^2)), print1(n^2-s", "))) \\ Charles R Greathouse IV, Feb 19 2013
CROSSREFS
KEYWORD
sign
AUTHOR
Labos Elemer, May 15 2002
STATUS
approved