login
Value of y in the n-th number of the form x+y*(1+sqrt(5))/2.
2

%I #20 Aug 21 2021 21:59:32

%S 0,0,1,0,1,0,2,1,0,2,1,3,0,2,1,3,0,2,4,1,3,0,2,4,1,3,0,5,2,4,1,3,0,5,

%T 2,4,1,6,3,0,5,2,4,1,6,3,0,5,2,7,4,1,6,3,0,5,2,7,4,1,6,3,8,0,5,2,7,4,

%U 1,6,3,8,0,5,2,7,4,9,1,6,3,8,0,5,2,7,4,9,1,6,3,8,0,5,10,2,7,4,9,1,6,3,8,0,5,10,2,7,4,9,1,6,11,3,8

%N Value of y in the n-th number of the form x+y*(1+sqrt(5))/2.

%C Let x>=0, y>=0 be integers, sort according to x+y*(1+sqrt(5))/2, this sequence gives the y-values. - _Joerg Arndt_, Aug 16 2012

%H Peter G. Anderson, <a href="/A215345/b215345.txt">Table of n, a(n) for n = 1..1571</a>

%e Let g = (1+sqrt(5))/2, sequences A215344 (x) and A215345 (y) start as:

%e [x+y*g, x, y]

%e [0.0000000, 0, 0]

%e [1.0000000, 1, 0]

%e [1.6180340, 0, 1]

%e [2.0000000, 2, 0]

%e [2.6180340, 1, 1]

%e [3.0000000, 3, 0]

%e [3.2360680, 0, 2]

%e [3.6180340, 2, 1]

%e [4.0000000, 4, 0]

%e [4.2360680, 1, 2]

%e [4.6180340, 3, 1]

%e [4.8541020, 0, 3]

%e [5.0000000, 5, 0]

%e [5.2360680, 2, 2]

%e [5.6180340, 4, 1]

%e - _Joerg Arndt_, Aug 17 2012.

%o (PARI) /* see A215344 */

%Y A215344 is the value of x.

%Y Cf. A084531, A054065, A194832.

%K nonn

%O 1,7

%A _Peter G. Anderson_, Aug 08 2012