%I A136152
%S A136152 30,42,60,84,90,102,110,114,132,138,140,150,168,174,180,182,198,228,230,
%T A136152 234,240,252,258,264,270,282,294,308,312,318,348,350,354,360,374,380,
%U A136152 402,410,434,440,444,450,468,480,492,504,522,558,564,572,588,594,600
%N A136152 Composites one larger than a prime and with exactly three distinct prime
factors.
%F A136152 Find primes followed by N with exactly three prime factors, without repetition.
%F A136152 Equals A008864 INTERSECT A033992. - R. J. Mathar (mathar(AT)strw.leidenuniv.nl),
Feb 20 2008
%e A136152 a(0)=30 because 30 follows the prime 29 and has three factors 2, 3 and
5.
%p A136152 isA008864 := proc(n) if n -prevprime(n) = 1 then true ; else false ;
fi ; end: isA033992 := proc(n) if nops(numtheory[factorset](n)) =
3 then true ; else false ; fi ; end: isA136152 := proc(n) isA008864(n)
and isA033992(n) ; end: for n from 1 do p := ithprime(n) ; if isA136152(p+1)
then print(p+1) ; fi ; od: - R. J. Mathar (mathar(AT)strw.leidenuniv.nl),
Feb 20 2008
%Y A136152 Cf. A136151 A136153 A136154 A136155.
%Y A136152 Sequence in context: A000977 A033992 A091454 this_sequence A090815 A093599
A007304
%Y A136152 Adjacent sequences: A136149 A136150 A136151 this_sequence A136153 A136154
A136155
%K A136152 easy,nonn
%O A136152 1,1
%A A136152 Enoch Haga (Enokh(AT)comcast.net), Dec 16 2007
%E A136152 Edited by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Feb 20 2008
|