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.

A017298 a(n) = (10*n + 2)^6.

Original entry on oeis.org

64, 2985984, 113379904, 1073741824, 5489031744, 19770609664, 56800235584, 139314069504, 304006671424, 606355001344, 1126162419264, 1973822685184, 3297303959104, 5289852801024, 8198418170944
Offset: 0

Views

Author

Keywords

Crossrefs

Cf. A001014 (n^6), A017293 (10n+2).

Programs

  • Magma
    [(10*n+2)^6: n in [0..25]]; // Vincenzo Librandi, Jul 30 2011
    
  • Mathematica
    (10*Range[0,20]+2)^6 (* or *) LinearRecurrence[{7,-21,35,-35,21,-7,1},{64,2985984,113379904,1073741824,5489031744,19770609664,56800235584},20] (* Harvey P. Dale, Aug 12 2012 *)
  • Python
    for n in range(0, 25): print((10*n + 2)**6, end=", ") # Stefano Spezia, Oct 20 2018

Formula

a(n) = 7*a(n-1) - 21*a(n-2) + 35*a(n-3) - 35*a(n-4) + 21*a(n-5) - 7*a(n-6) + a(n-7); a(0)=64, a(1)=2985984, a(2)=113379904, a(3)=1073741824, a(4)=5489031744, a(5)=19770609664, a(6)=56800235584. - Harvey P. Dale, Aug 12 2012