OFFSET
1,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
f[n_] := Floor[(-1+4^n)/(-1+3 n)]
Table[f[n], {n, 1, 40}] (* A191638 *)
PROG
(Magma) [Floor((-1+4^n)/(-1+3*n)): n in [1..30] ]; // Vincenzo Librandi, Sep 10 2011
(Maxima) A191638(n):=floor((-1+4^n)/(-1+3*n))$ makelist(A191638(n), n, 1, 30); /* Martin Ettl, Oct 25 2012 */
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Jun 09 2011
STATUS
approved