OFFSET
1,2
COMMENTS
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, PARI program for A328444
FORMULA
a(n) <= Sum_{k = 1..n-1} a(k) for any n > 2.
EXAMPLE
For n = 3:
- the divisors of a(2) = 2 are all already in the sequence,
- 3 is the least divisor of a(1) + a(2) = 1 + 2 = 3 not yet in the sequence,
- so a(3) = 3.
For n = 4:
- the divisors of a(3) = 3 are all already in the sequence,
- 5 is the least divisor of a(2) + a(3) = 2 + 3 = 5 not yet in the sequence,
- so a(3) = 5.
For n = 5:
- the divisors of a(4) = 5 are all already in the sequence,
- 4 is the least divisor of a(3) + a(4) = 3 + 5 = 8 not yet in the sequence,
- so a(5) = 4.
PROG
(PARI) \\ See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Oct 15 2019
STATUS
approved