login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A118004 a(n) = 9^n - 4^n. 5
0, 5, 65, 665, 6305, 58025, 527345, 4766585, 42981185, 387158345, 3485735825, 31376865305, 282412759265, 2541798719465, 22876524019505, 205890058352825, 1853015893884545, 16677164519797385, 150094566577522385 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
Eric Weisstein's World of Mathematics, Cantor Square Fractal
FORMULA
a(n) = 5*A016153(n).
a(n) = 13*a(n-1) - 36*a(n-2), n>=2. - Vincenzo Librandi, Mar 16 2011
G.f.: 5*x / ( (9*x-1)*(4*x-1) ). - R. J. Mathar, Mar 18 2011
MATHEMATICA
Table[9^n-4^n, {n, 0, 20}] (* or *) LinearRecurrence[{13, -36}, {0, 5}, 20] (* Harvey P. Dale, May 11 2017 *)
PROG
(PARI) a(n)=9^n-4^n \\ Charles R Greathouse IV, Oct 07 2015
CROSSREFS
Cf. A016153.
Sequence in context: A195579 A296369 A061184 * A281232 A236321 A199024
KEYWORD
nonn,easy
AUTHOR
Eric W. Weisstein, Apr 09 2006
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 16:40 EDT 2024. Contains 371916 sequences. (Running on oeis4.)