OFFSET
1,3
PROG
(PARI) forprime(p=3, 10^15, o=znorder(Mod(2, p))/3; x=ispower(2*o); if(p==3||2^(x-1)==o, if(x<2, print1(0, ", "), print1(x-2, ", "))));
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Arkadiusz Wesolowski, Jul 31 2016
STATUS
approved