OFFSET
1,2
COMMENTS
Odd k is a term if and only if k is squarefree and odd(p-1) divides k-1 for every prime factor p of k.
Different from A339879 by having extra terms 364, 532, 679, 703, ...
For odd k>1, A393131((k-1)/2), the index of witnesses for Solovay-Strassen primality test of k as a subgroup of (Z/kZ)*, is a power of 2 if and only if k is in this sequence. In other words, we have odd(A329726((k-1)/2)) <= odd(EulerPhi(k)) for every odd k, where equality holds if and only if k is in this sequence.
LINKS
Jianing Song, Table of n, a(n) for n = 1..20000
MATHEMATICA
q[k_] := Divisible[k-1, (# / 2^IntegerExponent[#, 2])& @ CarmichaelLambda[k]]; Select[Range[150], q] (* Amiram Eldar, Mar 30 2026 *)
PROG
(PARI) odd(n) = n >> valuation(n, 2)
isA392921(n) = ((n-1) % odd(lcm(znstar(n)[2])) == 0)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jianing Song, Mar 16 2026
STATUS
approved
