OFFSET
1,2
COMMENTS
A divisor lattice is closed under GCD and LCM. First differences of A074986. Depends only on the prime signature of n.
FORMULA
EXAMPLE
The a(6) = 7 sublattices of {1,2,3,6} that include 6 are: {6}, {1,6}, {2,6}, {3,6}, {1,2,6}, {1,3,6}, {1,2,3,6}.
MATHEMATICA
okQ[dd_List] := AllTrue[Subsets[dd, {2}], MemberQ[dd, GCD @@ #] && MemberQ[dd, LCM @@ #]&];
a[n_] := Select[Rest @ Subsets[Divisors[n]], Last[#] == n && okQ[#]&] // Length;
Table[a[n], {n, 1, 100}] (* Jean-François Alcover, Aug 18 2022 *)
CROSSREFS
KEYWORD
nonn,nice
AUTHOR
Franklin T. Adams-Watters, Sep 21 2006
STATUS
approved