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!)
A113854 a(n) = sum(2^(A047240(i)-1), i=1..n). 2
1, 3, 35, 99, 227, 2275, 6371, 14563, 145635, 407779, 932067, 9320675, 26097891, 59652323, 596523235, 1670265059, 3817748707, 38177487075, 106896963811, 244335917283, 2443359172835, 6841405683939, 15637498706147 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..300

FORMULA

G.f.: x*(1+2*x+32*x^2)/((-1+x)*(-1+4*x)*(1+4*x+16*x^2)). - Vaclav Kotesovec, Nov 28 2012

EXAMPLE

a(2) = 2^(A047240(1)-1) + 2^(A047240(2)-1) = 2^0 + 2^1 = 3

MATHEMATICA

a = {}; s = 0; For[n = 1, n < 48, n++, If[Length[Intersection[{Mod[n, 6]}, {1, 2, 0}]] > 0, s = s + 2^(n - 1); AppendTo[a, s]]]; a

CoefficientList[Series[(1 + 2 x + 32 x^2)/((-1 + x) (-1 + 4 x) (1 + 4 x + 16 x^2)), {x, 0, 25}], x] (* Vincenzo Librandi, May 20 2013 *)

CROSSREFS

Cf. A047240.

Sequence in context: A176761 A246824 A001539 * A231645 A076376 A133710

Adjacent sequences:  A113851 A113852 A113853 * A113855 A113856 A113857

KEYWORD

nonn,easy

AUTHOR

Artur Jasinski, Jan 27 2006

EXTENSIONS

Edited by Stefan Steinerberger, Jul 24 2007

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 April 5 22:51 EDT 2020. Contains 333260 sequences. (Running on oeis4.)