OFFSET
1,3
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..600
MATHEMATICA
f[n_] := Floor[(1 + 3^n)/(3 n + 1)]
Table[f[n], {n, 1, 40}] (* A191634 *)
PROG
(PARI) a(n)=(3^n+1)\(3*n+1) \\ Charles R Greathouse IV, Jun 17 2011
(Maxima) A191634(n):=floor( (1+3^n)/(1+3*n) )$ makelist(A191634(n), n, 1, 30); /* Martin Ettl, Oct 25 2012 */
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jun 09 2011
STATUS
approved