Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A113262
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A113262 One quarter of the number of solutions to a^2+b^2+3*c^2+3*d^2=n. +0
2
1, 1, 1, 5, 6, 1, 8, 13, 1, 6, 12, 5, 14, 8, 6, 29, 18, 1, 20, 30, 8, 12, 24, 13, 31, 14, 1, 40, 30, 6, 32, 61, 12, 18, 48, 5, 38, 20, 14, 78, 42, 8, 44, 60, 6, 24, 48, 29, 57, 31, 18, 70, 54, 1, 72, 104, 20, 30, 60, 30, 62, 32, 8, 125, 84, 12, 68, 90, 24, 48, 72, 13, 74, 38, 31 (list; graph; listen)
OFFSET

1,4

REFERENCES

B. C. Berndt, Ramanujan's Notebooks Part III, Springer-Verlag, see p. 223 Entry 3(iv).

L. E. Dickson, History of the Theory of Numbers. Carnegie Institute Public. 256, Washington, DC, Vol. 1, 1919; Vol. 2, 1920; Vol. 3, 1923, see vol. 3, p. 229.

N. J. Fine, Basic Hypergeometric Series and Applications, Amer. Math. Soc., 1988; p. 79, Eq. (32.3), p. 76, Eq. (31.43).

FORMULA

a(n) is multiplicative and a(3^e) = 1, a(2^e) = 2^(e+1)-3, a(p^e) = (p^(e+1)-1)/(p-1) if p>3.

G.f.: Sum_{k>0} k x^k/(1-(-x)^k) kronecker(9, k) = ((theta_3(x)theta_3(x^3))^2-1)/4.

PROGRAM

(PARI) a(n)=if(n<1, n==0, sumdiv(n, d, d^2*kronecker(-3, d)*(-1)^(n-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==3, 1, (p^(e+1)-1)/(p-1)-2*(p==2)))))}

CROSSREFS

Cf. A034896(n)=4 a(n) if n>0.

Sequence in context: A080130 A020798 A021182 this_sequence A131947 A105577 A054655

Adjacent sequences: A113259 A113260 A113261 this_sequence A113263 A113264 A113265

KEYWORD

nonn,mult

AUTHOR

Michael Somos, Oct 21 2005

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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research