OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..45
FORMULA
a(n) = p^n*product(p^n-p^k, k=0..n-1).
MATHEMATICA
FoldList[ #1*3^#2 (3^#2-1)&, 1, Range[ 20 ]]
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved