A064756 a(n) = n*10^n - 1.
9, 199, 2999, 39999, 499999, 5999999, 69999999, 799999999, 8999999999, 99999999999, 1099999999999, 11999999999999, 129999999999999, 1399999999999999, 14999999999999999, 159999999999999999, 1699999999999999999, 17999999999999999999, 189999999999999999999, 1999999999999999999999
Offset: 1
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..1000
- Paul Leyland, Factors of Cullen and Woodall numbers.
- Paul Leyland, Generalized Cullen and Woodall numbers.
- Amelia Carolina Sparavigna, Some Groupoids and their Representations by Means of Integer Sequences, International Journal of Sciences (2019) Vol. 8, No. 10.
- Index entries for linear recurrences with constant coefficients, signature (21,-120,100).
Crossrefs
Programs
-
Magma
[ n*10^n-1: n in [1..20]]; // Vincenzo Librandi, Sep 16 2011
-
Maple
k:= 10; f:= gfun:-rectoproc({1 + (k-1)*n + k*n*a(n-1) - (n-1)*a(n) = 0, a(1) = k-1}, a(n), remember): map(f, [$1..20]); # Georg Fischer, Feb 19 2021
-
Mathematica
Array[# 10^# - 1 &, 18] (* Michael De Vlieger, Jan 14 2020 *)
Formula
From Elmo R. Oliveira, Sep 07 2024: (Start)
G.f.: x*(100*x^2 - 10*x - 9)/((x - 1)*(10*x - 1)^2).
E.g.f.: 1 + exp(x)*(10*x*exp(9*x) - 1).
a(n) = 21*a(n-1) - 120*a(n-2) + 100*a(n-3) for n > 3.