OFFSET
1,2
COMMENTS
Antisigma(k) = A024816(k) = sum of numbers less than k which do not divide k.
For k < 10^8, 2 is the only number such that sigma(k) mod k = sigma(k+1) mod (k+1).
a(23) > 10^11. - Donovan Johnson, Sep 27 2013
EXAMPLE
a(3) = 27 because antisigma(27) mod 27 = 338 mod 27 = antisigma(28) mod 28 = 350 mod 28 = 14.
PROG
(PARI) s=1; r=0; for(n=1, 10^9, n1=n+1; s=s+n1; r1=(s-sigma(n1))%n1; if(r==r1, print(n)); r=r1) /* Donovan Johnson, Sep 27 2013 */
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Jaroslav Krizek, Sep 26 2013
EXTENSIONS
a(12)-a(22) from Donovan Johnson, Sep 27 2013
STATUS
approved