login
A338775
a(n+1) is the number of times a(n) is the least common multiple of one or more consecutive terms in this sequence so far with a(1) = 1.
1
1, 1, 3, 3, 7, 1, 4, 2, 1, 5, 2, 3, 8, 1, 6, 3, 9, 2, 4, 8, 5, 3, 10, 5, 4, 9, 3, 11, 1, 7, 4, 10, 7, 5, 5, 7, 6, 6, 8, 6, 9, 5, 8, 7, 7, 9, 6, 10, 8, 8, 10, 9, 7, 10, 10, 12, 1, 8, 12, 3, 12, 7, 11, 3, 13, 1, 9, 9, 12, 8, 13, 3, 14, 1, 10, 14, 3, 15, 3, 16, 1
OFFSET
1,3
COMMENTS
This sequence is a variant of A332518.
This sequence is unbounded.
EXAMPLE
For n = 2:
- a(1) = lcm(a(1)),
- so a(2) = 1.
For n = 3:
- a(2) = lcm(a(1)) = lcm(a(2)) = lcm(a(1), a(2)),
- so a(3) = 3.
For n = 4:
- a(3) = lcm(a(3)) = lcm(a(2), a(3)) = lcm(a(1), a(2), a(3)),
- so a(4) = 3.
PROG
(PARI) See Links section.
CROSSREFS
Cf. A332518.
Sequence in context: A118031 A335726 A240504 * A359407 A358191 A235162
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Nov 08 2020
STATUS
approved