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!)
A103461 a(n) = (-10)^n + 1 - 0^n. 1
1, -9, 101, -999, 10001, -99999, 1000001, -9999999, 100000001, -999999999, 10000000001, -99999999999, 1000000000001, -9999999999999, 100000000000001, -999999999999999, 10000000000000001, -99999999999999999, 1000000000000000001, -9999999999999999999 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
G.f.: (1+10*x^2)/((1-x)*(1+10*x)).
a(n) = Sum_{k=0..n} binomial(n,k)*0^(k*(n-k))*(-10)^k.
E.g.f.: -1 + exp(x) + exp(-10*x). - G. C. Greubel, Jun 26 2021
MATHEMATICA
Join[{1, -9}, Table[{10^(n-1)+1, -(10^n-1)}, {n, 3, 21, 2}]]//Flatten (* Harvey P. Dale, Apr 23 2019 *)
Table[(-10)^n +1 -Boole[n==0], {n, 0, 40}] (* G. C. Greubel, Jun 26 2021 *)
PROG
(Magma) [1] cat [(-10)^n +1: n in [1..40]]; // G. C. Greubel, Jun 26 2021
(Sage) [1]+[(-10)^n +1 for n in (1..40)] # G. C. Greubel, Jun 26 2021
CROSSREFS
Sequence in context: A287039 A360348 A174509 * A101563 A269732 A007133
KEYWORD
easy,sign
AUTHOR
Paul Barry, Feb 07 2005
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 25 05:18 EDT 2024. Contains 371964 sequences. (Running on oeis4.)