login

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

a(n) = floor(n/tau) - floor(n/(1 + tau)).
1

%I #9 Jul 03 2018 21:17:40

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

%T 9,8,9,8,9,10,9,10,9,10,11,10,11,12,11,12,11,12,13,12,13,12,13,14,13,

%U 14,15,14,15,14,15,16,15,16,17,16,17,16,17,18,17,18,17,18,19,18,19,20,19

%N a(n) = floor(n/tau) - floor(n/(1 + tau)).

%H Harry J. Smith, <a href="/A060145/b060145.txt">Table of n, a(n) for n = 0..1000</a>

%o (PARI) { default(realprecision, 10); t=(sqrt(5) + 1)/2; f=1/t; g=1/(1 + t); for (n=0, 1000, write("b060145.txt", n, " ", floor(n*f) - floor(n*g)); ) } \\ _Harry J. Smith_, Jul 02 2009

%K nonn

%O 0,6

%A _Clark Kimberling_, Mar 05 2001

%E Typo in terms corrected by _Harry J. Smith_, Jul 02 2009