The anti-primes
(or highly composite numbers, sequence A002182 in the OEIS)
are the natural numbers with more factors than any smaller than itself.



Task

Generate and show here, the first twenty anti-primes.



Related tasks

   Factors of an integer
   Sieve of Eratosthenes


10 C = -999
20 N = N + 1
30 GOSUB 60
40 IF T = 20 THEN END
50 GOTO 20
60 D = 0
70 FOR F = 1 TO INT(N/2)
80 IF N MOD F = 0 THEN D = D + 1
90 NEXT F
100 IF D > C THEN GOSUB 120
110 RETURN
120 C = D
130 T = T + 1
140 PRINT N
150 RETURN