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!)
A281787 a(n) = sum of all numbers between 1 and 10^n that are divisible by 3 or 5. 1
23, 2318, 233168, 23331668, 2333316668, 233333166668, 23333331666668, 2333333316666668, 233333333166666668, 23333333331666666668, 2333333333316666666668, 233333333333166666666668, 23333333333331666666666668, 2333333333333316666666666668 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
G.f.: -x*(23-235*x+1400*x^2)/((x-1)*(100*x-1)*(10*x-1)). - Alois P. Heinz, Jan 30 2017
a(n) = (7/30)*100^n - (1/6)*10^n + 4/3. - Robert Israel, Jan 31 2017
EXAMPLE
For n = 1, a(1) = 3 + 5 + 6 + 9 = 23.
PROG
(PARI) Vec(-x*(23-235*x+1400*x^2)/((x-1)*(100*x-1)*(10*x-1)) + O(x^15)) \\ Felix Fröhlich, Jan 30 2017
CROSSREFS
Sequence in context: A263462 A138735 A220653 * A132937 A068655 A336170
KEYWORD
nonn,easy
AUTHOR
Jerry Polfer, Jan 29 2017
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 March 28 07:33 EDT 2024. Contains 371235 sequences. (Running on oeis4.)