OFFSET
1,12
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
FORMULA
EXAMPLE
a(12) = #{(2,3), (3,4), (4,6)} = 3;
a(15) = #{(3,5)} = 1;
a(18) = #{(2,3), (6,9)} = 2;
a(20) = #{(4,5)} = 1;
a(24) = #{(2,3), (3,4), (4,6), (6,8), (8,12)} = 5.
MATHEMATICA
a[n_] := Module[{d = Divisors[n]}, Count[d, _?(Length[Intersection[Range[# + 1, 2*# - 1], d]] > 0 &)]]; Array[a, 100] (* Amiram Eldar, Apr 13 2024 *)
PROG
(Haskell)
import Data.List (intersect)
a174903 n = length [d | let ds = a027750_row n, d <- ds,
not $ null [e | e <- [d+1 .. 2*d-1] `intersect` ds]]
-- Reinhard Zumkeller, Sep 29 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Apr 01 2010
STATUS
approved