login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A028617
Expansion of (theta_3(z)*theta_3(13z) + theta_2(z)*theta_2(13z)).
1
1, 0, 2, 0, 0, 0, 0, 4, 2, 0, 0, 4, 0, 0, 0, 0, 0, 0, 2, 4, 0, 0, 0, 0, 0, 0, 2, 0, 4, 0, 0, 4, 2, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 4, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 4, 4, 0, 0, 0, 4, 0, 0, 0, 4, 0, 0, 0, 4, 2, 0, 0, 0, 4, 0, 0, 0, 0
OFFSET
0,3
LINKS
MATHEMATICA
r[n_]:=Reduce[{x, y}.{{2, 1}, {1, 7}}.{x, y}==n, {x, y}, Integers]; Table[rn=r[n]; Which[rn===False, 0, Head[rn]===Or, Length[rn], Head[rn]===And, 1], {n, 0, 105}] (* Vincenzo Librandi, Feb 22 2020 *)
PROG
(PARI) a(n) = if(n<1, n==0, qfrep([2, 1; 1, 7], n)[n]*2); \\ Jinyuan Wang, Feb 21 2020
CROSSREFS
KEYWORD
nonn
STATUS
approved