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!)
A140788 a(n) = 6*4^n + 2. 2
8, 26, 98, 386, 1538, 6146, 24578, 98306, 393218, 1572866, 6291458, 25165826, 100663298, 402653186, 1610612738, 6442450946, 25769803778, 103079215106, 412316860418, 1649267441666, 6597069766658, 26388279066626 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
Also 2*A140660.
LINKS
FORMULA
From R. J. Mathar, Feb 07 2009: (Start)
a(n) = 5*a(n-1) - 4*a(n-2).
G.f.: 2(4-7x)/((1-x)(1-4x)). (End)
MATHEMATICA
6*4^Range[0, 30]+2 (* or *) LinearRecurrence[{5, -4}, {8, 26}, 30] (* Harvey P. Dale, Apr 15 2019 *)
PROG
(Magma) [6*4^n+2: n in [0..30]]; // Vincenzo Librandi, Aug 08 2011
CROSSREFS
Sequence in context: A357593 A173365 A261971 * A082573 A112645 A220713
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Jul 14 2008
EXTENSIONS
More terms from R. J. Mathar, Feb 07 2009
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 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)