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!)
A147596 a(n) is the number whose binary representation is A138145(n). 3
1, 3, 7, 15, 31, 63, 119, 231, 455, 903, 1799, 3591, 7175, 14343, 28679, 57351, 114695, 229383, 458759, 917511, 1835015, 3670023, 7340039, 14680071, 29360135, 58720263, 117440519, 234881031, 469762055, 939524103, 1879048199, 3758096391 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Table of n, a(n) for n=1..32.

Index entries for linear recurrences with constant coefficients, signature (3,-2).

FORMULA

a(n) = 7*(2^(n-3)+1) if n>=6. [From Hagen von Eitzen, Jun 02 2009]

a(n) = 3*a(n-1)-2*a(n-2). G.f.: -x*(2*x^2-1)*(4*x^4+2*x^2+1) / ((x-1)*(2*x-1)). - Colin Barker, Sep 15 2013

PROG

(PARI) Vec(-x*(2*x^2-1)*(4*x^4+2*x^2+1)/((x-1)*(2*x-1)) + O(x^100)) \\ Colin Barker, Sep 15 2013

CROSSREFS

Cf. A138145, A145641, A147537, A147538, A147539, A147540, A147590, A147595, A147597.

Sequence in context: A261586 A043734 A151359 * A115567 A275715 A273672

Adjacent sequences:  A147593 A147594 A147595 * A147597 A147598 A147599

KEYWORD

base,easy,nonn

AUTHOR

Omar E. Pol, Nov 08 2008

EXTENSIONS

More terms from Hagen von Eitzen, Jun 02 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 24 00:05 EST 2022. Contains 350515 sequences. (Running on oeis4.)