login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A345872 Lexicographically earliest sequence of positive integers such that the values A345415(a(n), a(n+1)) are all distinct. 3
1, 1, 2, 3, 5, 7, 5, 8, 11, 13, 11, 18, 23, 13, 15, 13, 21, 19, 21, 23, 18, 31, 19, 30, 37, 30, 41, 39, 23, 25, 34, 43, 28, 43, 41, 43, 45, 37, 35, 37, 50, 47, 38, 41, 54, 61, 52, 61, 59, 57, 55, 53, 64, 53, 70, 53, 76, 37, 69, 49, 66, 73, 71, 69, 71, 73, 75 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
When writing gcd(a(n), a(n+1)) as u*a(n) + v*a(n+1) where u, v are minimal, the u's are all distinct.
LINKS
EXAMPLE
The table A345415(n, k) begins:
n\k| 1 2 3 4
---+--------------
1| 0 1 1 1
2| 0 0 -1 1
2| 0 1 0 -1
2| 0 0 1 0
For n = 1:
- we can choose a(1) = 1.
For n = 2:
- we can choose a(2) = 1,
- A345415(a(1), a(2)) = 0.
For n = 3:
- a(3) must be different from 1,
- we can choose a(3) = 2,
- A345415(a(2), a(3)) = 1.
For n = 4:
- a(4) must be different from 1 and from 2,
- we can choose a(4) = 3.
PROG
(PARI) See Links section.
CROSSREFS
Sequence in context: A142349 A234316 A284630 * A081622 A064143 A283593
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Jun 27 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 2 10:51 EDT 2024. Contains 372196 sequences. (Running on oeis4.)