cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A331774 a(n) = Sum_{-n

Original entry on oeis.org

0, 0, 0, 20, 56, 108, 208, 340, 504, 788, 1136, 1548, 2136, 2820, 3600, 4748, 6056, 7524, 9312, 11292, 13464, 16380, 19584, 23076, 27272, 31820, 36720, 42668, 49064, 55908, 63712, 72028, 80856, 91596, 103008, 115092, 128456, 142556, 157392, 174932, 193400
Offset: 1

Views

Author

N. J. A. Sloane, Feb 08 2020

Keywords

Crossrefs

This is twice A177720 and 4 times A331775.

Programs

  • Maple
    VR := proc(m,n,q) local a,i,j; a:=0;
    for i from -m+1 to m-1 do for j from -n+1 to n-1 do
    if gcd(i,j)=q then a:=a+(m-abs(i))*(n-abs(j)); fi; od: od: a; end;
    [seq(VR(n,n,3),n=1..50)];