This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A320021 #15 Oct 15 2018 11:01:47 %S A320021 5,6,7,8,35,40,51,237,263,264,280,387,899,1300,7300,8363,8364,11764, %T A320021 26740,26939,46595,59004,80877,131580,5244549,5462385,17062317, %U A320021 75097524,127838820,323987589,1162300835,1381439877,4943600220 %N A320021 Numbers equal to the sum of the aliquot parts of the previous k numbers, for some k. %C A320021 So far 2 <= k <= 4 (k = 2 for 7, 35, 51, 237, 263, 387, 899, 8363, 26939, 46595, 80877, ...; k = 3 for 5, 8, 40, 264, 280, 1300, 7300, 8364, 11764, 26740, 59004, 131580, ...; k = 4 for 6). Are there terms with k = 5, 6, 7, ...? %C A320021 a(34) > 10^12. - _Giovanni Resta_, Oct 09 2018 %C A320021 If we were looking at numbers equal to the sum of the aliquot parts of the previous k numbers and of the following k, for some k, the first terms would be 2263024 and 128508838576. %F A320021 a(n) = Sum_{i = 1..k} A001065(a(n)-i), for some k. %e A320021 5 is in the sequence because aliquot parts of 4 are 1, 2, of 3 is 1, of 2 is 1: 1 + 2 + 1 + 1 = 5. %e A320021 6 is in the sequence because aliquot parts of 5 is 1, of 4 are 1, 2, of 3 is 1, of 2 is 1: 1 + 1 + 2 + 1 + 1 = 6. %e A320021 7 is in the sequence because aliquot parts of 6 are 1, 2, 3, of 5 is 1: 1 + 2 + 3 + 1 = 7. %p A320021 with(numtheory): P:=proc(q) local a,j,k,n; for n from 1 to q do %p A320021 a:=0; k:=0; while a<n do k:=k+1; a:=a+sigma(n-k)-n+k; od; %p A320021 if a=n then print(n); fi; od; end: P(10^9); %t A320021 ok[n_] := Block[{s=0, k=n}, While[k>0 && s<n, k--; s += DivisorSigma[1, k] - k]; s == n]; Select[Range[10^5], ok] (* _Giovanni Resta_, Oct 09 2018 *) %Y A320021 Cf. A001065, A320022. %K A320021 nonn,more %O A320021 1,1 %A A320021 _Paolo P. Lava_, Oct 03 2018 %E A320021 a(25)-a(33) from _Giovanni Resta_, Oct 09 2018