OFFSET
0,1
COMMENTS
Written in binary a(n) is 1000...00011 for n > 1.
For n >= 2, a(n) is the minimal k for which A000120(k(2^n-1)) is not multiple of n. - Vladimir Shevelev, Jun 05 2009
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (3,-2).
FORMULA
EXAMPLE
a(3) = 2^3 + 3 = 8 + 3 = 11.
a(4) = 2^4 + 3 = 16 + 3 = 19.
MATHEMATICA
LinearRecurrence[{3, -2}, {4, 5}, 40] (* Vincenzo Librandi, Jan 31 2012 *)
NestList[2 * # - 3 &, 4, 20] (* Zak Seidov, Mar 28 2015 *)
2^Range[0, 29] + 3 (* Alonso del Arte, Mar 28 2015 *)
PROG
(Sage) [gaussian_binomial(n, 1, 2)+4 for n in range(0, 32)] # Zerinvary Lajos, May 31 2009
(PARI) a(n)=2^n+3 \\ Charles R Greathouse IV, Jan 30 2012
(Magma) [2^n+3: n in [0..40]] // Vincenzo Librandi, Jan 31 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Henry Bottomley, Jul 13 2001
STATUS
approved