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!)
A369404 a(n) = 3*2^n + 5*(-1)^n. 1
8, 1, 17, 19, 53, 91, 197, 379, 773, 1531, 3077, 6139, 12293, 24571, 49157, 98299, 196613, 393211, 786437, 1572859, 3145733, 6291451, 12582917, 25165819, 50331653, 100663291, 201326597, 402653179, 805306373, 1610612731, 3221225477, 6442450939, 12884901893 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
a(n) = 3*A000079(n) + 5*A033999(n).
a(n) = 4*A014551(n) - 3*A001045(n).
a(n) = a(n-1) + 2*a(n-2).
G.f.: (8 - 7*x)/((1 + x)*(1 - 2*x)).
MATHEMATICA
LinearRecurrence[{1, 2}, {8, 1}, 33] (* James C. McMahon, Jan 31 2024 *)
PROG
(Python)
def A369404(n): return (3<<n)+(-5 if n&1 else 5) # Chai Wah Wu, Feb 25 2024
CROSSREFS
Sequence in context: A333509 A013615 A359628 * A209242 A103884 A103883
KEYWORD
nonn,easy
AUTHOR
Philippe Deléham, Jan 22 2024
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 29 07:58 EDT 2024. Contains 372098 sequences. (Running on oeis4.)