OFFSET
1,3
COMMENTS
This sequence has similarities with Stern's diatomic series (A002487) as it equals its even bisection and two consecutive terms are always coprime.
Will n -> (a(n), a(n+1)) run through all pairs of coprime integers?
LINKS
Rémy Sigrist, Colored scatterplot of (a(n), a(n+1)) for n < 2^18 (where the color is function of n)
Rémy Sigrist, PARI program
EXAMPLE
The first terms, alongside pairs of successive terms following the introduction of odd-indexed terms, are:
n a(n) New pairs
-- ---- --------------
1 1 (1, 1)
2 1
3 2 (1, 2), (2, 1)
4 1
5 3 (1, 3), (3, 2)
6 2
7 3 (2, 3), (3, 1)
8 1
9 4 (1, 4), (4, 3)
10 3
11 5 (3, 5), (5, 2)
12 2
13 5 (2, 5), (5, 3)
14 3
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Dec 13 2023
STATUS
approved