A076824 Let a(1)=a(2)=1, a(n)=(2^ceiling(a(n-1)/2)+1)/a(n-2).
1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3, 1, 1, 3, 5, 3
Offset: 1
Keywords
Links
- Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 0, 1).
Crossrefs
Cf. A076839.
Programs
-
Mathematica
LinearRecurrence[{0, 0, 0, 0, 1},{1, 1, 3, 5, 3},105] (* Ray Chandler, Aug 25 2015 *) nxt[{a_,b_}]:={b,(2^Ceiling[b/2]+1)/a}; NestList[nxt,{1,1},110][[;;,1]] (* or *) PadRight[{},120,{1,1,3,5,3}] (* Harvey P. Dale, Jun 09 2025 *)
Formula
5-periodic with period (1, 1, 3, 5, 3)