OFFSET
1,2
COMMENTS
Each positive integer occurs exactly once, so this sequence is a permutation of the natural numbers.
LINKS
FORMULA
EXAMPLE
Square array begins:
1, 3, 8, 21, 55, 144, 377, 987, ...
2, 5, 13, 34, 89, 233, 610, 1597, ...
4, 9, 22, 56, 145, 378, 988, 2585, ...
6, 14, 35, 90, 234, 611, 1598, 4182, ...
7, 15, 36, 91, 235, 612, 1599, 4183, ...
10, 23, 57, 146, 379, 989, 2586, 6767, ...
11, 24, 58, 147, 380, 990, 2587, 6768, ...
12, 25, 59, 148, 381, 991, 2588, 6769, ...
16, 37, 92, 236, 613, 1600, 4184, 10949, ...
PROG
(PARI) b1(n)=local(m); if(n<1, 0, m=0; until(fibonacci(m)>n, m++); m-2) \\ A072649
T(n, k)=if(n==0, fibonacci(2*k), n - fibonacci(b1(n)) + fibonacci(2*k + b1(n)))
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Mikhail Kurkov, Jul 20 2022 [verification needed]
STATUS
approved