%I #20 Sep 09 2018 02:28:59
%S 1,1,2,6,15,38,99,262,703,1904,5210,14363,39858,111231,311932,878504,
%T 2483464,7044008,20038990,57160400,163443018,468374024,1344902554,
%U 3868897760,11148534334,32175516814,92995091280,269138734764,779890651873,2262539913128
%N a(n) = floor((1 + 3^n)/(1 + 3*n)).
%H Vincenzo Librandi, <a href="/A191634/b191634.txt">Table of n, a(n) for n = 1..600</a>
%t f[n_] := Floor[(1 + 3^n)/(3 n + 1)]
%t Table[f[n], {n, 1, 40}] (* A191634 *)
%o (PARI) a(n)=(3^n+1)\(3*n+1) \\ _Charles R Greathouse IV_, Jun 17 2011
%o (Maxima) A191634(n):=floor( (1+3^n)/(1+3*n) )$ makelist(A191634(n),n,1,30); /* _Martin Ettl_, Oct 25 2012 */
%Y Cf. A016777, A034472.
%Y Cf. A191627.
%K nonn,easy
%O 1,3
%A _Clark Kimberling_, Jun 09 2011
|