OFFSET
1,1
COMMENTS
Numbers k such that 2*k is not in A002174.
For prime p >= 5, p^k is in this sequence if and only if 2*p^k + 1 is composite: if psi(k) = 2*p^k, then k must have some prime power factor q such that psi(q) = 2*q^k. No prime power with exponent >= 2 can satisfy this equation, so q = 2*p^k + 1 must be prime. In particular, this sequence contains p^k with either p == 1 (mod 3) or k even (since then 2*p^k + 1 is divisible by 3).
LINKS
Jianing Song, Table of n, a(n) for n = 1..10001
PROG
(PARI) isA396685(n) = !is(2*n) \\ See Charles R Greathouse IV's second program in A002174
CROSSREFS
KEYWORD
nonn
AUTHOR
Jianing Song, Jun 02 2026
STATUS
approved
