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

A084114
Number of divisions when calculating A084110(n).
7
0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 2, 0, 1, 1, 1, 0, 2, 0, 1, 1, 1, 1, 2, 0, 1, 1, 2, 0, 2, 0, 1, 1, 1, 0, 3, 0, 1, 1, 1, 0, 2, 1, 2, 1, 1, 0, 4, 0, 1, 1, 2, 1, 2, 0, 1, 1, 2, 0, 4, 0, 1, 1, 1, 1, 2, 0, 3, 1, 1, 0, 4, 1, 1, 1, 2, 0, 4, 1, 1, 1, 1, 1, 4, 0, 1, 1, 2, 0, 2, 0, 2, 2
OFFSET
1,24
COMMENTS
a(n) = A000005(n) - 1 - A084113(n) = A032741(n) - A084113(n) = (A032741(n)-A084115(n))/2;
a(n) = 0 iff n is prime or a square of prime (A000430).
LINKS
PROG
(Haskell)
a084114 = g 0 1 . tail . a027750_row where
g c _ [] = c
g c x (d:ds) = if r > 0 then g c (x * d) ds else g (c + 1) x' ds
where (x', r) = divMod x d
-- Reinhard Zumkeller, Jul 31 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, May 12 2003
STATUS
approved