login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A033916
Numbers k such that s(k) + s(k+1) + ... + s(k+14) = t(k) + t(k+1) + ... + t(k+14).
0
537, 1557, 8313, 16493, 18149, 55849, 145029, 211581, 334577, 436915, 3445721, 20866521, 31321817, 66133149, 143953833, 472294345, 80640391857
OFFSET
1,1
COMMENTS
a(18) > 10^11. - Donovan Johnson, Aug 15 2011
FORMULA
Here s(k) = sigma(k) - k, t(k) = |s(k) - k|.
PROG
(PARI) l=vector(15, n, abs(sigma(n)-2*n)-sigma(n)+n); l[15]=0; sc=sum(n=1, 15, l[n]); for(n=15, 10000000, m=sigma(n)-2*n; d=abs(m)-m-n; i=(n-1)%15+1; sc=sc-l[i]+d; l[i]=d; if(sc==0, print1(n-14, ", "))) \\ C. Ronaldo (aga_new_ac(AT)hotmail.com), Jan 02 2005
KEYWORD
nonn,more
EXTENSIONS
More terms from C. Ronaldo (aga_new_ac(AT)hotmail.com), Jan 02 2005
a(12)-a(17) from Donovan Johnson, Aug 15 2011
STATUS
approved