OFFSET
1,1
COMMENTS
Prime factors here are counted with multiplicity. - Robert Israel, Jul 31 2025
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
7 has one prime factor and 8 = 2*2*2 has three prime factors; 1+3 = 4 is composite, hence 7*8/2 = 28 is in the sequence.
15 = 3*5 has two prime factors and 16=2*2*2*2 has four prime factors; 2+4 = 6 is composite, hence 15*16/2 = 120 is in the sequence.
18 = 2*3*3 has three prime factors and 19 has one prime factors; 3+1 = 4 is composite, hence 18*19/2 = 171 is in the sequence.
MAPLE
N:= 200: W:= map(numtheory:-bigomega, [$1..N]):
V:= W[1..-2] + W[2..-1]:
K:=remove(i -> isprime(V[i]), [$1..N-1]):
map(t -> t*(t+1)/2, K[2..-1]); # Robert Israel, Jul 31 2025
MATHEMATICA
(#(#+1))/2&/@Rest[Select[Range[110], !PrimeQ[PrimeOmega[#] + PrimeOmega[ #+1]]&]] (* Harvey P. Dale, Mar 18 2012 *)
PROG
(Magma) [ k*(k+1)/2: k in [2..86] | not IsPrime(s) where s is &+[ f[2]: f in Factorization(k) ] + &+[ f[2]: f in Factorization(k+1) ] ];
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Dec 31 2008
EXTENSIONS
Edited and corrected by Klaus Brockhaus, Jan 03 2009
Edited by N. J. A. Sloane, Jan 08 2009
STATUS
approved
