A085613 a(n) = 2^(n-1) + (2 + (-1)^n)^((n-2)/2).
2, 3, 5, 11, 17, 41, 65, 155, 257, 593, 1025, 2291, 4097, 8921, 16385, 34955, 65537, 137633, 262145, 543971, 1048577, 2156201, 4194305, 8565755, 16777217, 34085873, 67108865, 135812051, 268435457, 541653881, 1073741825, 2161832555, 4294967297, 8632981313
Offset: 1
Links
- Index entries for linear recurrences with constant coefficients, signature (2,4,-8,-3,6).
Crossrefs
Cf. A082605.
Programs
-
PARI
a(n) = 2^(n-1) + (2 + (-1)^n)^((n-2)/2) \\ Charles R Greathouse IV, Jan 29 2013
Extensions
More terms from Neven Juric, Apr 10 2008
Comments