Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A123331
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A123331 Expansion of (c(q)^2/(3c(q^2))-1)/2 in powers of q where c(q) is a cubic AGM function. +0
2
1, 2, 1, 1, 0, 2, 2, 2, 1, 0, 0, 1, 2, 4, 0, 1, 0, 2, 2, 0, 2, 0, 0, 2, 1, 4, 1, 2, 0, 0, 2, 2, 0, 0, 0, 1, 2, 4, 2, 0, 0, 4, 2, 0, 0, 0, 0, 1, 3, 2, 0, 2, 0, 2, 0, 4, 2, 0, 0, 0, 2, 4, 2, 1, 0, 0, 2, 0, 0, 0, 0, 2, 2, 4, 1, 2, 0, 4, 2, 0, 1, 0, 0, 2, 0, 4, 0, 0, 0, 0, 4, 0, 2, 0, 0, 2, 2, 6, 0, 1, 0, 0, 2, 4, 0 (list; graph; listen)
OFFSET

1,2

FORMULA

Moebius transform is period 6 sequence [ 1, 1, 0, -1, -1, 0, ...].

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

a(3n)=a(4n)=a(n). a(6n+5)=0.

G.f.: Sum_{k>0} x^k/(1-x^k+x^(2k)) = (theta_3(-q^3)^3/theta_3(-q) -1)/2.

PROGRAM

(PARI) {a(n)=if(n<1, 0, -sumdiv(n, d, (-1)^d*kronecker(-3, d)))}

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

(PARI) {a(n)=local(A); if(n<0, 0, A=x*O(x^n); polcoeff( (eta(x^2+A)*eta(x^3+A)^6/ eta(x+A)^2/eta(x^6+A)^3-1)/2, n))}

CROSSREFS

Cf. A123330(n)=2*a(n) if n>0. A113974(n)=-(-1)^n*a(n).

Sequence in context: A113661 A113974 A122860 this_sequence A114638 A123340 A110962

Adjacent sequences: A123328 A123329 A123330 this_sequence A123332 A123333 A123334

KEYWORD

nonn,mult

AUTHOR

Michael Somos, Sep 26 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 10 00:48 EST 2009. Contains 170565 sequences.


AT&T Labs Research