OFFSET
1,3
COMMENTS
a(A175431(n)) = 1 for n >= 1.
a(A065496(n)) > 1 for n >= 1.
It appears that the record values in this sequence, 1, 2, 3, 5, 7, 8, 9, 10, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, ..., is A180221 with a 1 prepended, at least through term #469. Is this a theorem? - Ray Chandler, Aug 20 2010
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..16384
FORMULA
EXAMPLE
For n = 7, a(7) = 3 because sigma(7) = 8 = 2^3.
MATHEMATICA
Array[Apply[GCD, FactorInteger[DivisorSigma[1, #]][[All, -1]]] &, 105] (* Michael De Vlieger, Nov 05 2017 *)
PROG
(PARI) a(n)=max(ispower(sigma(n)), 1) \\ Charles R Greathouse IV, Feb 14 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, May 10 2010
STATUS
approved