cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A055275 First differences of 9^n (A001019).

Original entry on oeis.org

1, 8, 72, 648, 5832, 52488, 472392, 4251528, 38263752, 344373768, 3099363912, 27894275208, 251048476872, 2259436291848, 20334926626632, 183014339639688, 1647129056757192, 14824161510814728, 133417453597332552, 1200757082375992968, 10806813741383936712, 97261323672455430408, 875351913052098873672
Offset: 0

Views

Author

Barry E. Williams, May 28 2000

Keywords

Comments

For n>=1, a(n) is equal to the number of functions f:{1,2...,n}->{1,2,3,4,5,6,7,8,9} such that for a fixed x in {1,2,...,n} and a fixed y in {1,2,3,4,5,6,7,8,9} we have f(x)<>y. - Aleksandar M. Janjic and Milan Janjic, Mar 27 2007
a(n) is the number of compositions of n when there are 8 types of each natural number. - Milan Janjic, Aug 13 2010

References

  • A. H. Beiler, Recreations in the Theory of Numbers, Dover, N.Y., 1964, pp. 194-196.

Crossrefs

Cf. A001019.

Programs

Formula

G.f.: (1-x)/(1-9x).
a(n) = 8*9^(n-1); a(0)=1.
a(n) = 9a(n-1) + (-1)^n*C(1,1-n).
E.g.f.: (1 + 8*exp(9*x))/9. - G. C. Greubel, Mar 16 2020