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.

A184289 Number of distinct n X 2 toroidal 0..5 arrays.

Original entry on oeis.org

21, 351, 7826, 210456, 6047412, 181410426, 5597460306, 176319684486, 5642220380006, 182807931073356, 5982804736593846, 197432556035646576, 6560835699716880876, 219319364810710999926, 7369130657373455467336, 248708159686089506901366
Offset: 1

Views

Author

R. H. Hardin, Jan 10 2011

Keywords

Crossrefs

Column 2 of A184291.

Programs

  • Mathematica
    T[n_, k_] := (1/(n*k))*Sum[Sum[EulerPhi[c]*EulerPhi[d]*6^(n*(k/LCM[c, d])), {d, Divisors[k]}], {c, Divisors[n]}]; a[n_] := T[n, 2]; Array[a, 16] (* Jean-François Alcover, Nov 01 2017, after Andrew Howroyd *)
  • PARI
    a(n) = my(k=2); (1/(n*k)) * sumdiv(n, c, sumdiv(k, d, eulerphi(c) * eulerphi(d) * 6^(n*k/lcm(c, d)))); \\ Michel Marcus, Nov 01 2017

Extensions

Terms a(10) and beyond from Andrew Howroyd, Sep 27 2017