OFFSET
1,1
COMMENTS
By pure convention, we could include a leading 1 to this sequence, as someone using the mathematically arguably value A006530(1) = 1 might search for this sequence with a leading 1. However, this was not done in view of the age of this sequence. - Rémy Sigrist, Jan 09 2018
LINKS
Michel Marcus, Table of n, a(n) for n = 1..1000
FORMULA
EXAMPLE
1550 = 2*5^2*31 and sigma(1550) = 2976 = 2^5*3*31 hence 1550 is in the sequence.
MATHEMATICA
fQ[n_] := FactorInteger[n][[-1, 1]] == FactorInteger[DivisorSigma[1, n]][[-1, 1]]; Rest@ Select[ Range@3500, fQ] (* Robert G. Wilson v, Jan 09 2018 *)
PROG
(PARI) for(n=2, 1000, if(component(component(factor(n), 1), omega(n)) == component(component(factor(sigma(n)), 1), omega(sigma(n))), print1(n, ", ")))
(PARI) isok(n) = vecmax(factor(n)[, 1]) == vecmax(factor(sigma(n))[, 1]); \\ Michel Marcus, Sep 29 2017
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, Jun 08 2002
STATUS
approved