osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Program to output a subset of the composite numbers


Thank you very much! Do you also know how I might slightly alter to composite numbers that are one less than twice a composite number?

15 would be the first number
Since 8 is composite then

2*8=16
16 - 1=15 Is composite