login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A083884 a(n) = (3^(2*n) + 1) / 2. 11
1, 5, 41, 365, 3281, 29525, 265721, 2391485, 21523361, 193710245, 1743392201, 15690529805, 141214768241, 1270932914165, 11438396227481, 102945566047325, 926510094425921, 8338590849833285, 75047317648499561, 675425858836496045, 6078832729528464401 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

COMMENTS

Number of compositions of even natural numbers into n parts <=8. [Adi Dani, May 28 2011]

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..200

FORMULA

a(0) = 1, a(n) = 9*a(n-1) - 4.

a(n) = sum(0<=k<=n, binomial(2*n, 2*k)*4^k ).

a(n) = A002438(n) / A000364(n); A000364(n) : Euler numbers.

G.f.: (1-5*x)/((1-x)*(1-9*x)).

a(n)=(3^n+1^n+(-1)^n+(-3)^n)/4.

E.g.f.: exp(3*x)+exp(x)+exp(-x)+exp(-3*x).

Each term expresses a Pythagorean relationship, along with (a(n)-1) and a power of 3, n>0, such that sqrt((a(n))^2 - (a(n)-1)^2) = 3^n. E.g. 365^2 - 364^2 - 3^3 = 27. (the Pythagorean triangle (365, 364, 27). - Gary W. Adamson (qntmpkt(AT)yahoogroups.com), Jun 25 2006

EXAMPLE

From Adi Dani, May 28 2011: (Start)

a(2)=41: there are 41 compositions of even natural numbers into 2 parts <=8:

(0,0);

(0,2),(2,0),(1,1);

(0,4),(4,0),(1,3),(3,1),(2,2);

(0,6),(6,0),(1,5),(5,1),(2,4),(4,2),(3,3);

(0,8),(8,0),(1,7),(7,1),(2,6),(6,2),(3,5),(5,3),(4,4);

(2,8),(8,2),(3,7),(7,3),(4,6),(6,4),(5,5);

(4,8),(8,4),(5,7),(7,5),(6,6);

(6,8),(8,6),(7,7);

(8,8).  (End)

PROG

(MAGMA) [(3^(2*n) + 1) / 2: n in [0..20]]; // Vincenzo Librandi, Jun 16 2011

CROSSREFS

Cf. A000364, A002438, A083885, A086645.

Sequence in context: A067381 A155612 A145215 * A156153 A026000 A058475

Adjacent sequences:  A083881 A083882 A083883 * A083885 A083886 A083887

KEYWORD

easy,nonn

AUTHOR

Paul Barry (pbarry(AT)wit.ie), May 09 2003

EXTENSIONS

Additional comments from Philippe DELEHAM (kolotoko(AT)wanadoo.fr), Jul 10 2005

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 16:39 EST 2012. Contains 205823 sequences.