login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

a(n) = |{k^2: 0 <= k^2 <= n}| + |{k^3: 0 <= k^3 <= n}|.
1

%I #6 Jun 24 2017 16:10:21

%S 2,4,4,4,5,5,5,5,6,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,9,9,10,11,11,11,11,

%T 11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,

%U 13,13,13,13,13,13,13,13,13,15,15,15,15,15,15

%N a(n) = |{k^2: 0 <= k^2 <= n}| + |{k^3: 0 <= k^3 <= n}|.

%F a(n) = 2 + floor(n^(1/2)) + floor(n^(1/3)).

%Y Cf. A104055.

%K nonn

%O 0,1

%A _Giovanni Teofilatto_, Mar 02 2005

%E Better definition from _Emeric Deutsch_, Mar 25 2005