OFFSET
1,1
PROG
(PARI) is_A297412(n) = my(m=polcyclo(n, 2)); Mod(2, m*(m-1))^m==2 && !ispseudoprime(m);
CROSSREFS
KEYWORD
nonn
AUTHOR
Max Alekseyev, Dec 29 2017
STATUS
approved