login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A309083 a(n) = n - floor(n/2^4) + floor(n/3^4) - floor(n/4^4) + ... 3

%I #21 Oct 12 2019 11:16:41

%S 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,15,16,17,18,19,20,21,22,23,24,25,

%T 26,27,28,29,30,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,45,46,

%U 47,48,49,50,51,52,53,54,55,56,57,58,59,60,60,61,62,63,64,65,66,67,68,69,70,71

%N a(n) = n - floor(n/2^4) + floor(n/3^4) - floor(n/4^4) + ...

%H Vaclav Kotesovec, <a href="/A309083/b309083.txt">Table of n, a(n) for n = 1..10000</a>

%F G.f.: (1/(1 - x)) * Sum_{k>=1} (-1)^(k+1) * x^(k^4)/(1 - x^(k^4)).

%F a(n) ~ 7*zeta(4)*n/8 = 7*Pi^4*n/720. - _Vaclav Kotesovec_, Oct 12 2019

%t Table[Sum[(-1)^(k + 1) Floor[n/k^4], {k, 1, n}], {n, 1, 75}]

%t nmax = 75; CoefficientList[Series[1/(1 - x) Sum[(-1)^(k + 1) x^(k^4)/(1 - x^(k^4)), {k, 1, Floor[nmax^(1/4)] + 1}], {x, 0, nmax}], x] // Rest

%t Table[Sum[Boole[IntegerQ[d^(1/4)] && OddQ[d]], {d, Divisors[n]}] - Sum[Boole[IntegerQ[d^(1/4)] && EvenQ[d]], {d, Divisors[n]}], {n, 1, 75}] // Accumulate

%Y Cf. A013938, A059851, A063775, A309081, A309082.

%K nonn

%O 1,2

%A _Ilya Gutkovskiy_, Jul 11 2019

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 03:01 EDT 2024. Contains 371767 sequences. (Running on oeis4.)