OFFSET
1,2
LINKS
Eric Weisstein's World of Mathematics, Solvable groups
EXAMPLE
The symmetric and alternating groups on 5 elements are not solvable and have orders 60 and 120 respectively.
PROG
(Python)
from itertools import count, islice
from sympy import primerange
def A085736_gen(startvalue=1): # generator of terms >= startvalue
for n in count(max(startvalue, 1)):
if n%5616 and n%60:
flag = True
for p in primerange(3, n+1):
a, b, c, d = (1<<(p<<1))-1<<p, 3**p*(3**(p<<1)-1>>1), ((1<<(p<<1))+1)*((1<<p)-1)<<(p<<1), p*(p**2-1)>>1
if min(a, b, c, d)>n:
break
if not (n%a and n%b and n%c and (p<=3 or (p**2+1)%5 or n%d)):
flag = False
break
if flag:
yield n
CROSSREFS
KEYWORD
nonn
AUTHOR
Andrew Niedermaier, Jul 20 2003
STATUS
approved
