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

A087029
Number of lunar divisors of n (unbounded version).
11
9, 8, 7, 6, 5, 4, 3, 2, 1, 18, 90, 16, 14, 12, 10, 8, 6, 4, 2, 16, 16, 72, 14, 12, 10, 8, 6, 4, 2, 14, 14, 14, 56, 12, 10, 8, 6, 4, 2, 12, 12, 12, 12, 42, 10, 8, 6, 4, 2, 10, 10, 10, 10, 10, 30, 8, 6, 4, 2, 8, 8, 8, 8, 8, 8, 20, 6, 4, 2, 6, 6, 6, 6, 6, 6, 6, 12, 4, 2, 4, 4, 4, 4
OFFSET
1,1
COMMENTS
Number of d, 1 <= d < infinity, such that there exists an e, 1 <= e < infinity, with d*e = n, where * is lunar multiplication.
LINKS
D. Applegate, M. LeBrun and N. J. A. Sloane, Dismal Arithmetic, arxiv:1107.1130 [math-NT], July 2011. [Note: we have now changed the name from "dismal arithmetic" to "lunar arithmetic" - the old name was too depressing]
D. Applegate, M. LeBrun, N. J. A. Sloane, Dismal Arithmetic, J. Int. Seq. 14 (2011) # 11.9.8.
Brady Haran and N. J. A. Sloane, Primes on the Moon (Lunar Arithmetic), Numberphile video, Nov 2018.
EXAMPLE
The 18 divisors of 10 are 1, 2, ..., 9, 10, 20, 30, ..., 90, so a(10) = 18.
MAPLE
(Uses programs from A087062. This crude program is valid for n <= 99.) dd2 := proc(n) local t1, t2, i, j; t1 := []; for i from 1 to 99 do for j from i to 99 do if dmul(i, j) = n then t1 := [op(t1), i, j]; fi; od; od; t1 := convert(t1, set); t2 := sort(convert(t1, list)); nops(t2); end;
PROG
(PARI) A087029(n)=#A189506_row(n) \\ To be optimized. - M. F. Hasler, Nov 15 2018
CROSSREFS
Cf. A087062 (lunar product).
Cf. A087028, A087083, A186443, A186510. See A189506 for the actual divisors.
See A067399 for the base-2 version.
Sequence in context: A269667 A171816 A083824 * A104348 A251984 A298372
KEYWORD
nonn,base,look,easy
AUTHOR
Marc LeBrun and N. J. A. Sloane, Oct 19 2003
EXTENSIONS
More terms from David Applegate, Nov 07 2003
Minor edits by M. F. Hasler, Nov 15 2018
STATUS
approved