OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
For n=8 n+1 = 9 = 3*3 or 2 prime divisors with multiplicity.
MATHEMATICA
PrimeOmega[#[[2]]]&/@Select[Partition[Range[300], 2, 1], And@@ CompositeQ[ #]&] (* Harvey P. Dale, Jun 09 2016 *)
PROG
(PARI) f(n) = for(x=1, n, y=composite(x)+1; if(!isprime(y), print1(bigomega(y)", "))) composite(n) =\The n-th composite number. 1 is def as not prime nor composite. { local(c, x); c=1; x=1; while(c <= n, x++; if(!isprime(x), c++); ); return(x) }
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Feb 19 2005
STATUS
approved