login
This site is supported by donations to The OEIS Foundation.

 

Logo

"Email this user" was broken Aug 14 to 9am Aug 16. If you sent someone a message in this period, please send it again.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A236923 Number of integer solutions to a^2 + b^2 + c^2 + 4*d^2 = n. 10
1, 6, 12, 8, 8, 36, 48, 16, 24, 78, 72, 24, 32, 84, 96, 48, 24, 108, 156, 40, 48, 192, 144, 48, 96, 186, 168, 80, 64, 180, 288, 64, 24, 288, 216, 96, 104, 228, 240, 112, 144, 252, 384, 88, 96, 468, 288, 96, 96, 342, 372, 144, 112, 324, 480, 144, 192, 480, 360, 120, 192, 372, 384, 208, 24, 504, 576, 136, 144, 576, 576, 144, 312, 444, 456, 248, 160, 576, 672 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

REFERENCES

Yao, Olivia X. M.; Xia, Ernest X. W. Combinatorial proofs of five formulas of Liouville. Discrete Math. 318 (2014), 1--9. MR3141622.

LINKS

Table of n, a(n) for n=0..78.

FORMULA

See Maple code.

MAPLE

with(numtheory);

s:=n-> if whattype(n) = integer then sigma(n) else 0; fi;

f:=proc(n) global s;

  if (n mod 4) = 0 then 8*s(n/4)-32*s(n/16)

elif (n mod 4) = 2 then 12*s(n/2)

elif (n mod 4) = 3 then 2*s(n)

else 6*s(n);

fi; end;

[seq(f(n), n=1..100)];

# a(0)=1 must be added separately

CROSSREFS

Cf. A097057, A236924.

For number of solutions to a^2+b^2+c^2+k*d^2=n for k=1,2,3,4,5,6,7,8,12 see A000118, A236928, A236926, A236923, A236930, A236931, A236932, A236927, A236933.

Sequence in context: A028659 A236930 A028643 * A028627 A162522 A028320

Adjacent sequences:  A236920 A236921 A236922 * A236924 A236925 A236926

KEYWORD

nonn

AUTHOR

N. J. A. Sloane, Feb 14 2014

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy .

Last modified August 17 17:35 EDT 2017. Contains 290653 sequences.