The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A244612 a(n) = 1 if n is a square, -1 if n is six times a square, 0 if n < 1. 4
1, 0, 0, 1, 0, -1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, -1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Ramanujan theta functions: f(q) (see A121373), phi(q) (A000122), psi(q) (A010054), chi(q) (A000700).
LINKS
Eric Weisstein's World of Mathematics, Ramanujan Theta Functions.
FORMULA
Expansion of (phi(q) - phi(q^6)) / 2 in powers of q where phi() is a Ramanujan theta function.
G.f.: (theta_3(q) - theta_3(q^6)) / 2 = Sum_{k>0} x^(k^2) - x^(6*k^2).
a(3*n) = A089801(n). a(3*n + 2) = 0.
Sum_{k=1..n} a(k) ~ c*sqrt(n), where c = 1 - 1/sqrt(6) = 0.5917517... . - Amiram Eldar, Oct 24 2023
EXAMPLE
G.f. = q + q^4 - q^6 + q^9 + q^16 - q^24 + q^25 + q^36 + q^49 - q^54 + ...
MATHEMATICA
a[ n_] := SeriesCoefficient[ (EllipticTheta[ 3, 0, q] - EllipticTheta[ 3, 0, q^6]) / 2, {q, 0, n}];
a[ n_] := If[ n < 0, 0, Boole[ OddQ [ Length @ Divisors @ n]] - Boole[ OddQ [ Length @ Divisors [6 n]]]];
PROG
(PARI) {a(n) = issquare(n) - issquare(6*n)};
(Magma) Basis( ModularForms( Gamma1(24), 1/2), 64) [2];
CROSSREFS
Sequence in context: A352569 A101266 A260552 * A262805 A213728 A105367
KEYWORD
sign
AUTHOR
Michael Somos, Jul 01 2014
EXTENSIONS
More terms from Antti Karttunen, Dec 15 2017
STATUS
approved

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 May 14 04:33 EDT 2024. Contains 372528 sequences. (Running on oeis4.)