login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A225585
Floor((3^n-1)/n).
1
2, 4, 8, 20, 48, 121, 312, 820, 2186, 5904, 16104, 44286, 122640, 341640, 956593, 2690420, 7596480, 21523360, 61171656, 174339220, 498112057, 1426411800, 4093181688, 11767897353, 33891544377, 97764070320, 282429536480, 817028301962, 2366564736720
OFFSET
1,1
LINKS
MATHEMATICA
Table[Floor[(3^n - 1) / n], {n, 30}] (* or *) Table[Quotient[3^n - 1, n], {n, 30}]
PROG
(Magma) [Floor((3^n-1)/n): n in [1..30]];
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, May 30 2013
STATUS
approved