OFFSET
1,1
LINKS
Michel Marcus, Table of n, a(n) for n = 1..10000
FORMULA
EXAMPLE
MAPLE
A014612 := proc(n) option remember ; if n = 1 then 8 ; else for a from procname(n-1)+1 do if numtheory[bigomega](a) = 3 then RETURN(a) ; fi; od: fi; end:
A162361 := proc(n) tpr := A014612(n) ; pf := sort(convert(numtheory[factorset](tpr), list)) ; tpr/op(1, pf)/op(-1, pf) ; end:
seq(A162361(n), n=1..120) ; # R. J. Mathar, Jul 06 2009
MATHEMATICA
f[n_] := With[{fi = FactorInteger[n][[All, 1]]}, n/(fi[[1]] fi[[-1]])];
f /@ Select[Range[500], PrimeOmega[#] == 3&] (* Jean-François Alcover, Aug 05 2022 *)
PROG
(PARI) isok(n) = bigomega(n)==3;
lista(nn) = {for (n=1, nn, if (isok(n), my(f=factor(n)[, 1]); print1(n/(vecmin(f)*vecmax(f)), ", ")); ); } \\ Michel Marcus, Feb 25 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Jul 02 2009
EXTENSIONS
Edited (but not checked) by N. J. A. Sloane, Jul 05 2009
Corrected and extended by R. J. Mathar and Ray Chandler, Jul 06 2009
STATUS
approved