login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

a(n) = 2*n - floor(n*r/4), where r = (1 + sqrt(5))/2.
1

%I #13 Sep 08 2022 08:45:59

%S 0,2,4,5,7,8,10,12,13,15,16,18,20,21,23,24,26,28,29,31,32,34,36,37,39,

%T 40,42,44,45,47,48,50,52,53,55,56,58,60,61,63,64,66,68,69,71,72,74,75,

%U 77,79,80,82,83,85,87,88,90,91,93,95,96,98,99,101,103,104,106

%N a(n) = 2*n - floor(n*r/4), where r = (1 + sqrt(5))/2.

%H Vincenzo Librandi, <a href="/A195126/b195126.txt">Table of n, a(n) for n = 0..10000</a>

%t Table[2n-Floor[(n*GoldenRatio)/4],{n,0,70}] (* _Harvey P. Dale_, Nov 12 2014 *)

%o (Magma) [2*n-Floor(n*(1+Sqrt(5))/8): n in [0..70]]; // _Vincenzo Librandi_, Sep 11 2011

%K nonn

%O 0,2

%A _Clark Kimberling_, Sep 09 2011