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”).

A173768
a(n) = (4*10^n-31)/9.
4
1, 41, 441, 4441, 44441, 444441, 4444441, 44444441, 444444441, 4444444441, 44444444441, 444444444441, 4444444444441, 44444444444441, 444444444444441, 4444444444444441, 44444444444444441, 444444444444444441
OFFSET
1,2
FORMULA
a(n)=10*a(n-1)+31, n>1.
G.f.: x*(1+30*x) / ( (10*x-1)*(x-1) ).
MATHEMATICA
NestList[10#+31&, 1, 20] (* or *) Table[FromDigits[PadLeft[{1}, n, 4]], {n, 20}] (* Harvey P. Dale, May 28 2013 *)
Table[(4 10^n - 31)/9, {n, 1, 30}] (* Vincenzo Librandi, Aug 20 2014 *)
PROG
(Magma) [(4*10^n-31)/9: n in [1..20]]; // Vincenzo Librandi, Aug 20 2014
CROSSREFS
Cf. A093174.
Sequence in context: A209823 A196784 A112748 * A061643 A209842 A211154
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Feb 24 2010
STATUS
approved