OFFSET
2,1
COMMENTS
We say that odious 2*n-1, n>=2, has "power odious-evil stability" of index k, if k is the maximal, such that the numbers 2*n-1, (2n-1)^2, ... , (2n-1)^k all are evil or all are odious.
For example, 3, 3^2, 3^3 are evil, while 3^4 is odious. So 3 has power stability of index 3. For 5 it is 1, for 7 it is 2, etc.
LINKS
Peter J. C. Moses, Table of n, a(n) for n = 2..10001
Vladimir Shevelev, "Odious-evil stability" of integers
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Vladimir Shevelev, Oct 21 2013
STATUS
approved