OFFSET
1,1
COMMENTS
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000 (terms 1..96 from Harvey P. Dale)
EXAMPLE
a(3)=36 has 3 odd divisors (1, 3, and 9) and 6 even divisors (2, 4, 6, 12, 18, and 36). 3 and 6 are odd and even respectively, and both are divisors of 36.
MATHEMATICA
ndQ[n_]:=Module[{d=Divisors[n], od, ev}, od=Count[d, _?OddQ]; ev=Count[ d, _?EvenQ]; ev!=0&&OddQ[od]&&EvenQ[ev]&&Divisible[n, od]&&Divisible[ n, ev]]; Select[Range[100000], ndQ] (* Harvey P. Dale, Feb 24 2016 *)
PROG
(PARI) isok(n) = my(nod = numdiv(n>>valuation(n, 2)), noe = if (n%2, 0, numdiv(n/2))); (nod % 2) && nod && !(n % nod) && !(noe % 2) && noe && !(n % noe); \\ Michel Marcus, Jan 14 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Matthew Vandermast, Nov 14 2010
EXTENSIONS
More terms from Nathaniel Johnston, Nov 17 2010
STATUS
approved