proposed
approved
Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
proposed
approved
editing
proposed
(PARI) f(n) = a=factor(n); v=a[, 1]; ln=length(v); if(ln>1, return(v[2])) g(m) = for(x=2, m, if(f(x)>0, print1(f(x)", ")));
g(m) = for(x=2, m, if(f(x)>0, print1(f(x)", ")));
approved
editing
reviewed
approved
proposed
reviewed
editing
proposed
Amiram Eldar, <a href="/A089992/b089992.txt">Table of n, a(n) for n = 1..10000</a>
2,1,1
Select[Table[If[Length[(f = FactorInteger[n])] > 1, f[[2, 1]], 1], {n, 1, 150}], # > 1 &]
Offset corrected by Amiram Eldar, Apr 12 2021
approved
editing
_Cino Hilliard (hillcino368(AT)gmail.com), _, Jan 14 2004