|
|
A116137
|
|
a(0) = 1 and a(n) = a(n-1) + A116212(n), where A116212 is the list of the positive divisors of each term of this sequence.
|
|
2
|
|
|
1, 2, 3, 5, 6, 9, 10, 15, 16, 18, 21, 27, 28, 31, 40, 41, 43, 48, 58, 59, 62, 67, 82, 83, 85, 89, 97, 113, 114, 116, 119, 125, 134, 152, 153, 156, 163, 184, 185, 188, 197, 224, 225, 227, 231, 238, 252, 280, 281, 312, 313, 315, 319, 324, 332, 342, 362, 402, 403, 444
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
EXAMPLE
|
A116212 begins: 1;1,2;1,3;1,5;1,2,3,6;1,3,9;...
So a(11) = 21 + 6 = 27.
|
|
PROG
|
(Python)
from sympy import divisors
A, z = [1], 0
while len(A) <= max_n:
A.extend((A[-1]+d) for d in divisors(A[z])); z += 1
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|