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!)
A118393 Eigenvector of triangle A059344. E.g.f.: exp( Sum_{n>=0} x^(2^n) ). 2

%I #16 Feb 19 2021 09:46:04

%S 1,1,3,7,49,201,1411,7183,108417,816049,9966691,80843511,1381416433,

%T 14049020857,216003063459,2309595457471,72927332784001,

%U 1046829280528353,23403341433961027,329565129021010279,9695176730057249841,160632514329660035881

%N Eigenvector of triangle A059344. E.g.f.: exp( Sum_{n>=0} x^(2^n) ).

%C E.g.f. of A059344 is: exp(x+y*x^2). More generally, given a triangle with e.g.f.: exp(x+y*x^b), the eigenvector will have e.g.f.: exp( Sum_{n>=0} x^(b^n) ).

%H Alois P. Heinz, <a href="/A118393/b118393.txt">Table of n, a(n) for n = 0..450</a>

%F a(n) = Sum_{k=0..[n/2]} n!/k!/(n-2*k)! *a(k) for n>=0, with a(0)=1.

%p A118393 := proc(n)

%p option remember;

%p if n <=1 then

%p 1;

%p else

%p n!*add(procname(k)/k!/(n-2*k)!,k=0..n/2) ;

%p end if;

%p end proc:

%p seq(A118393(n),n=0..20) ; # _R. J. Mathar_, Aug 19 2014

%p # second Maple program:

%p a:= proc(n) option remember; `if`(n=0, 1, add((j-> j!*

%p a(n-j)*binomial(n-1, j-1))(2^i), i=0..ilog2(n)))

%p end:

%p seq(a(n), n=0..25); # _Alois P. Heinz_, Oct 01 2017

%t a[0] = 1; a[n_] := a[n] = Sum[n!/k!/(n - 2*k)!*a[k], {k, 0, n/2}];

%t Table[a[n], {n, 0, 20}] (* _Jean-François Alcover_, May 18 2018 *)

%o (PARI) a(n)=n!*polcoeff(exp(sum(k=0,#binary(n),x^(2^k))+x*O(x^n)),n)

%o (Sage)

%o f=factorial;

%o def a(n): return 1 if n==0 else sum((f(n)/(f(k)*f(n-2*k)))*a(k) for k in (0..n//2))

%o [a(n) for n in (0..25)] # _G. C. Greubel_, Feb 18 2021

%o (Magma)

%o function a(n)

%o if n eq 0 then return 1;

%o else return (&+[ (Factorial(n)/(Factorial(k)*Factorial(n-2*k)))*a(k): k in [0..Floor(n/2)]]);

%o end if; return a; end function;

%o [a(n): n in [0..25]]; // _G. C. Greubel_, Feb 18 2021

%Y Cf. A059344, variants: A118395, A118930.

%K nonn

%O 0,3

%A _Paul D. Hanna_, May 07 2006

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 24 03:08 EDT 2024. Contains 371918 sequences. (Running on oeis4.)