login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A169650 a(1) = 3; thereafter a(n) = 3*a(n-1)+2^n-6. 2
3, 7, 23, 79, 263, 847, 2663, 8239, 25223, 76687, 232103, 700399, 2109383, 6344527, 19066343, 57264559, 171924743, 516036367, 1548633383, 4646948719, 13942943303, 41833024207, 125507461223, 376539160879, 1129651037063, 3389020220047, 10167194877863 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Todd Silvestri, Table of n, a(n) for n = 1..2095

FORMULA

a(n) = 4*3^(n-1)-2^(n+1)+3. - Todd Silvestri, Dec 15 2014

MAPLE

a:=n->if n=1 then 3 else 3*a(n-1)+2^n-6; fi;

MATHEMATICA

a[n_Integer/; n>=1]:=4*3^(n-1)-2^(n+1)+3 (* Todd Silvestri, Dec 15 2014 *)

RecurrenceTable[{a[1]==3, a[n]==3a[n-1]+2^n-6}, a, {n, 30}] (* Harvey P. Dale, Jan 22 2018 *)

CROSSREFS

Apart from offset, equals A145563 + 3. Arises in analyzing A169648.

Sequence in context: A148712 A208591 A104088 * A346771 A136508 A184935

Adjacent sequences:  A169647 A169648 A169649 * A169651 A169652 A169653

KEYWORD

nonn

AUTHOR

N. J. A. Sloane, Apr 07 2010

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 19 17:35 EDT 2021. Contains 347564 sequences. (Running on oeis4.)