OFFSET
1,2
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, C program for A348409
FORMULA
a(n) - A348246(n) >= n - 1.
EXAMPLE
For n = 6:
- sequence A307730 starts: 1, 2, 2, 3, 3, 3, 6, 4, 4, 4, 4, 6, 6, 6, 6, 6,
- the sixth occurrence of 6 appears at position 16,
- so a(6) = 16.
PROG
(C) See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Oct 17 2021
STATUS
approved