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!)
A129097 a(n) = A129095(2^n - 1) for n>=1. 4

%I #6 Mar 10 2020 15:33:04

%S 1,3,11,51,323,3075,47427,1230787,54772163,4247022531,582413946819,

%T 143061847179203,63604391931367363,51621812365091401667,

%U 77028054123935294320579,212592144046864728487817155

%N a(n) = A129095(2^n - 1) for n>=1.

%C b(n)=A129095(n) obeys the recurrence: b(n) = b(n/2) (n even), b(n) = 2*b(n-1) + b(n-2) (n odd >1), with b(1) = 1.

%t Block[{e = 16, s}, s = Nest[Append[#1, If[EvenQ[#2], #1[[#2/2]], 2 #1[[-1]] + #1[[-2]] ] ] & @@ {#, Length@ # + 1} &, {1}, 2^e]; Array[s[[2^# - 1]] &, e]] (* _Michael De Vlieger_, Mar 10 2020 *)

%o (PARI)

%Y Cf. A129095, A129096, A129098, A129099.

%K easy,nonn

%O 1,2

%A _Paul D. Hanna_, Apr 11 2007

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 17:02 EDT 2024. Contains 371962 sequences. (Running on oeis4.)