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!)
A070528 Number of divisors of 10^n-1 (999...999 with n digits). 16
3, 6, 8, 12, 12, 64, 12, 48, 20, 48, 12, 256, 24, 48, 128, 192, 12, 640, 6, 384, 256, 288, 6, 2048, 96, 192, 96, 768, 96, 16384, 24, 6144, 128, 192, 384, 5120, 24, 24, 128, 6144, 48, 49152, 48, 4608, 1280, 192, 12, 16384, 48, 3072, 512, 1536, 48, 12288, 768 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = A000005(A002283(n)).
a(n) = Sum_{d|n} A059892(d).
a(n) = A070529(n)*(A007949(n)+3)/(A007949(n)+1).
EXAMPLE
a(7)=12 since the divisors of 9999999 are 1, 3, 9, 239, 717, 2151, 4649, 13947, 41841, 1111111, 3333333, 9999999.
MATHEMATICA
DivisorSigma[0, #]&/@(10^Range[60]-1) (* Harvey P. Dale, Jan 14 2011 *)
Table[DivisorSigma[0, 10^n - 1], {n, 60}] (* T. D. Noe, Aug 18 2011 *)
PROG
(PARI) a(n) = numdiv(10^n - 1); \\ Michel Marcus, Sep 08 2015
CROSSREFS
Cf. A004023 (indices of 6's).
Sequence in context: A233541 A077148 A246456 * A243117 A356180 A122116
KEYWORD
base,nonn
AUTHOR
Henry Bottomley, May 02 2002
EXTENSIONS
Terms to a(280) in b-file from Hans Havermann, Aug 19 2011
a(281)-a(322) in b-file from Ray Chandler, Apr 22 2017
a(323)-a(352) in b-file from Max Alekseyev, May 04 2022
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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)