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!)
A304027 Table read by rows: T(n, k) is the minimum number of applications of the map (x, y) -> (x + 1, 2*y) or the map (x, y) -> (2*x, y + 1) required to make both numbers in the pair equal, starting from (n, k), 0 <= k <= n. 3
0, 3, 0, 5, 2, 0, 8, 3, 1, 0, 7, 4, 6, 10, 0, 6, 3, 3, 1, 7, 0, 5, 9, 2, 9, 6, 10, 0, 6, 5, 10, 3, 1, 6, 10, 0, 12, 7, 4, 5, 9, 10, 6, 10, 0, 11, 12, 6, 12, 3, 1, 7, 6, 10, 0, 10, 10, 13, 2, 5, 9, 11, 10, 6, 10, 0, 9, 6, 9, 10, 12, 3, 1, 7, 10, 6, 10, 0, 12 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
First column is given by A304026.
LINKS
Peter Kagey, Table of n, a(n) for n = 0..594 (first 33 rows)
Programing Puzzles & Code Golf Stack Exchange, Bringing a pair of integers to equality
EXAMPLE
T(5, 2) = 3 by the map (*2, +1) followed by two applications of the map (+1, *2): (5,2) -> (10,3) -> (11,6) -> (12,12).
Table begins:
n\k| 0 1 2 3 4 5 6 7
---+----------------------------------------
0| 0
1| 3 0
2| 5 2 0
3| 8 3 1 0
4| 7 4 6 10 0
5| 6 3 3 1 7 0
6| 5 9 2 9 6 10 0
7| 6 5 10 3 1 6 10 0
CROSSREFS
Cf. A304026.
Sequence in context: A357823 A226770 A185782 * A187886 A324103 A130054
KEYWORD
nonn,tabl
AUTHOR
Peter Kagey, May 04 2018
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 April 18 20:26 EDT 2024. Contains 371781 sequences. (Running on oeis4.)