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.

A230309 Sum_{0<=a<24*n, 0<=b<24*n} (a+b*i)^(24*n) (mod 24*n), where i is the imaginary unit.

Original entry on oeis.org

8, 32, 0, 32, 80, 0, 56, 128, 0, 80, 176, 0, 104, 272, 0, 128, 272, 0, 152, 320, 0, 176, 368, 0, 200, 416, 0, 416, 464, 0, 248, 512, 0, 272, 560, 0, 296, 608, 0, 320, 656, 432, 344, 704, 0, 368, 752, 0, 392, 800, 0, 416, 848, 0, 560, 320, 0, 464, 944, 0, 488
Offset: 1

Views

Author

Keywords

Comments

If m <> 0 (mod 24) then Sum_{(a+b*i)^m: 0<=a

Crossrefs

Programs

  • Mathematica
    aa[n_] := aa[n] = Mod[Sum[PowerMod[a + b *I, n, n], {a, n}, {b, n}], n]; Table[aa[24*n],{n,1,10}]
  • PARI
    a(n)=my(N=24*n,a);lift(sum(A=0,N-1,a=Mod(A,N);sum(b=0,N-1,(a+b*I)^N))) \\ Charles R Greathouse IV, Nov 05 2013