login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A178510 a(n+1) = a(n)*100 + 21^n, with a(1)=1. 4
1, 121, 12541, 1263361, 126530581, 12657142201, 1265799986221, 126581799710641, 12658217793923461, 1265822573672392681, 126582274047120246301, 12658227754989525172321, 1265822782854780028618741, 126582278439950380600993561, 12658227847238957992620864781 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Related to decimal expansion of fraction 1/79 and Pell numbers.
LINKS
FORMULA
a(n) = 121*a(n-1) - 2100*a(n-2). - Harvey P. Dale, Sep 09 2011
G.f.: x/(1 - 121*x + 2100*x^2). - Philippe Deléham, Oct 11 2011
MATHEMATICA
Rest[RecurrenceTable[{a[0]==0, a[n]==100a[n-1]+21^(n-1)}, a[n], {n, 15}]] (* or *) LinearRecurrence[{121, -2100}, {1, 121}, 20] (* Harvey P. Dale, Sep 09 2011 *)
PROG
(Magma) [(1/79)*(100^n-21^n): n in [1..20]]; // Vincenzo Librandi, Sep 13 2011
(PARI) a(n)=(100^n-21^n)/79 \\ Charles R Greathouse IV, Oct 10 2011
CROSSREFS
Sequence in context: A080162 A030174 A180153 * A066625 A078277 A178512
KEYWORD
nonn,easy
AUTHOR
Mark Dols, May 29 2010
EXTENSIONS
Removed vacuous a(0)=0 from NAME. - R. J. Mathar, Jun 19 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 08:56 EDT 2024. Contains 371934 sequences. (Running on oeis4.)