A196657 63*2^(n+1) + 1.
127, 253, 505, 1009, 2017, 4033, 8065, 16129, 32257, 64513, 129025, 258049, 516097, 1032193, 2064385, 4128769, 8257537, 16515073, 33030145, 66060289, 132120577, 264241153, 528482305, 1056964609, 2113929217, 4227858433, 8455716865, 16911433729, 33822867457
Offset: 0
Examples
First few terms in binary are 1111111, 11111101, 111111001, 1111110001, 11111100001.
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (3,-2).
Programs
-
Magma
[63*2^(n+1) + 1: n in [0..100]];
-
Mathematica
LinearRecurrence[{3,-2},{127,253},50] (* Vincenzo Librandi, Nov 25 2011 *)
-
PARI
a(n)=126<
Charles R Greathouse IV, Oct 06 2011
Comments