[go: up one dir, main page]

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!)
A324307 G.f.: Sum_{n>=0} (3^n + 1)^n * x^n / (1 + 3^n*x)^(n+1). 2
1, 3, 77, 19359, 42889529, 846714983643, 150077691692889797, 239295126680408718226359, 3433674886486169138580840660209, 443426323426315645984783474684119877683, 515377494126424457836645645092305997185170274237, 5391030861948942602274267567073900935676924012151705008719, 507528785582004882399016283829240939596823032166579530765710613668649 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
G.f.: Sum_{n>=0} (3^n + 1)^n * x^n / (1 + 3^n*x)^(n+1).
G.f.: Sum_{n>=0} (3^n - 1)^n * x^n / (1 - 3^n*x)^(n+1).
a(n) = Sum_{k=0..n} binomial(n,k) * (3^n - 3^k)^(n-k).
a(n) = Sum_{k=0..n} (-1)^k * binomial(n,k) * (3^n + 3^k)^(n-k).
EXAMPLE
G.f.: A(x) = 1 + 3*x + 77*x^2 + 19359*x^3 + 42889529*x^4 + 846714983643*x^5 + 150077691692889797*x^6 + 239295126680408718226359*x^7 + ...
such that
A(x) = 1/(1+x) + (3 + 1)*x/(1 + 3*x)^2 + (3^2 + 1)^2*x^2/(1 + 3^2*x)^3 + (3^3 + 1)^3*x^3/(1 + 3^3*x)^4 + (3^4 + 1)^4*x^4/(1 + 3^4*x)^5 + (3^5 + 1)^5*x^5/(1 + 3^5*x)^6 + (3^6 + 1)^6*x^6/(1 + 3^6*x)^7 + ...
Also,
A(x) = 1/(1-x) + (3 - 1)*x/(1 - 3*x)^2 + (3^2 - 1)^2*x^2/(1 - 3^2*x)^3 + (3^3 - 1)^3*x^3/(1 - 3^3*x)^4 + (3^4 - 1)^4*x^4/(1 - 3^4*x)^5 + (3^5 - 1)^5*x^5/(1 - 3^5*x)^6 + (3^6 - 1)^6*x^6/(1 - 3^6*x)^7 + ...
PROG
(PARI) {a(n) = my(A = sum(m=0, n+1, (3^m + 1)^m*x^m/(1 + 3^m*x +x*O(x^n) )^(m+1) )); polcoeff(A, n)}
for(n=0, 20, print1(a(n), ", "))
(PARI) {a(n) = my(A = sum(m=0, n+1, (3^m - 1)^m*x^m/(1 - 3^m*x +x*O(x^n) )^(m+1) )); polcoeff(A, n)}
for(n=0, 20, print1(a(n), ", "))
(PARI) {a(n) = sum(k=0, n, binomial(n, k) * (3^n - 3^k)^(n-k) )}
for(n=0, 20, print1(a(n), ", "))
(PARI) {a(n) = sum(k=0, n, (-1)^k * binomial(n, k) * (3^n + 3^k)^(n-k) )}
for(n=0, 20, print1(a(n), ", "))
CROSSREFS
Sequence in context: A250328 A306432 A303096 * A065993 A097802 A119200
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Mar 09 2019
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 August 30 04:38 EDT 2024. Contains 375526 sequences. (Running on oeis4.)