OFFSET
1,3
COMMENTS
The value 1 appears twice; for any v > 1, the value v appears A000005(v) times.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, PARI program
EXAMPLE
The first terms, alongside the corresponding pairs, are:
n a(n) (gcd(a(n), a(n+1)), a(n+1))
-- ---- ---------------------------
1 1 (1, 1)
2 1 (1, 2)
3 2 (2, 2)
4 2 (1, 3)
5 3 (3, 3)
6 3 (1, 4)
7 4 (4, 4)
8 4 (1, 5)
9 5 (5, 5)
10 5 (1, 6)
11 6 (2, 4)
12 4 (2, 6)
13 6 (6, 6)
14 6 (1, 7)
15 7 (7, 7)
PROG
(PARI) \\ See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Jul 30 2024
STATUS
approved