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!)
A255648 Expansion of (a(q) + a(q^2) + a(q^3) + a(q^6) - 4) / 6 in powers of q where a() is a cubic AGM theta function. 2

%I #21 Dec 22 2023 08:38:53

%S 1,1,2,1,0,2,2,1,2,0,0,2,2,2,0,1,0,2,2,0,4,0,0,2,1,2,2,2,0,0,2,1,0,0,

%T 0,2,2,2,4,0,0,4,2,0,0,0,0,2,3,1,0,2,0,2,0,2,4,0,0,0,2,2,4,1,0,0,2,0,

%U 0,0,0,2,2,2,2,2,0,4,2,0,2,0,0,4,0,2,0

%N Expansion of (a(q) + a(q^2) + a(q^3) + a(q^6) - 4) / 6 in powers of q where a() is a cubic AGM theta function.

%C Cubic AGM theta functions: a(q) (see A004016), b(q) (A005928), c(q) (A005882).

%C Ramanujan theta functions: f(q) (see A121373), phi(q) (A000122), psi(q) (A010054), chi(q) (A000700).

%H G. C. Greubel, <a href="/A255648/b255648.txt">Table of n, a(n) for n = 1..10000</a>

%H Michael Somos, <a href="/A010815/a010815.txt">Introduction to Ramanujan theta functions</a>, 2019.

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/RamanujanThetaFunctions.html">Ramanujan Theta Functions</a>.

%F Expansion of (b(q^2)^2 / b(q) + b(q^6)^2 / b(q^3) - 2) / 3 in powers of q where b() is a cubic AGM theta function.

%F Expansion of (psi(q)^3 / psi(q^3) + psi(q^3)^3 / psi(q^9) - 2) / 3 in powers of q where psi() is a Ramanujan theta function.

%F Moebius transform is period 18 sequence [ 1, 0, 1, 0, -1, 0, 1, 0, 0, 0, -1, 0, 1, 0, -1, 0, -1, 0, ...].

%F a(n) is multiplicative with a(2^e) = 1, a(3^e) = 2 if e>1, a(p^e) = e+1 if p == 1 (mod 6), a(p^e) = (1 + (-1)^e) / 2 if p == 5 (mod 6).

%F G.f.: Sum_{k>0} (x^k + x^(3*k)) / (1 + x^(2*k))^2 + (x^(3*k) + x^(9*k)) / (1 + x^(6*k))^2.

%F a(2*n) = a(n). a(3*n) = 2 * A035178(n). a(3*n + 1) = A033687(n). a(6*n + 5) = 0.

%F Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = 2*Pi/(3*sqrt(3)) = 1.209199... (A248897). - _Amiram Eldar_, Dec 22 2023

%e G.f. = q + q^2 + 2*q^3 + q^4 + 2*q^6 + 2*q^7 + q^8 + 2*q^9 + 2*q^12 + ...

%t a[ n_] := If[ n < 1, 0, Sum[ { 1, 0, 1, 0, -1, 0, 1, 0, 0, 0, -1, 0, 1, 0, -1, 0, -1, 0}[[Mod[ d, 18, 1]]], { d, Divisors[ n]}]];

%o (PARI) {a(n) = if( n<1, 0, sumdiv(n, d, [ 0, 1, 0, 1, 0, -1, 0, 1, 0, 0, 0, -1, 0, 1, 0, -1, 0, -1][d%18 + 1]))};

%o (PARI) {a(n) = my(A, p, e); if( n<1, 0, A = factor(n); prod( k=1, matsize(A)[1], [p, e] = A[k, ]; if( p==2, 1, p==3, 2, p%6==1, e+1, 1-e%2)))};

%Y Cf. A033687, A035178, A248897.

%Y Cf. A000122, A000700, A004016, A005882, A005928, A010054, A121373.

%K nonn,easy,mult

%O 1,3

%A _Michael Somos_, May 06 2015

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 August 20 00:15 EDT 2024. Contains 375310 sequences. (Running on oeis4.)