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.

A165259 Sum of odd powers of 4 and 9 divided by 13.

Original entry on oeis.org

1, 61, 4621, 369181, 29821741, 2414250301, 195533302861, 15837861987421, 1282861452271981, 103911691734684541, 8416845656119913101, 681764476155480405661, 55222922216750191970221
Offset: 0

Views

Author

Jaume Oliver Lafont, Sep 11 2009

Keywords

Crossrefs

Programs

  • Magma
    [(4^(2*n+1)+9^(2*n+1))/13: n in [0..30]]; // G. C. Greubel, Mar 11 2023
    
  • Mathematica
    Table[(4^n+9^n)/13,{n,1,31,2}] (* or *) LinearRecurrence[{97,-1296},{1,61},20] (* Harvey P. Dale, Jun 23 2013 *)
  • PARI
    a(n)=(4^(2*n+1)+9^(2*n+1))/13
    
  • SageMath
    [(4^(2*n+1)+9^(2*n+1))/13 for n in range(31)] # G. C. Greubel, Mar 11 2023

Formula

G.f.: (1-36*x)/((1-16*x)*(1-81*x))
a(n) = 97*a(n-1) - 1296*a(n-2). - Harvey P. Dale, Jun 23 2013
E.g.f.: (1/13)*(4*exp(16*x) + 9*exp(81*x)). - G. C. Greubel, Mar 11 2023