OFFSET
1,2
COMMENTS
LINKS
Rémy Sigrist, PARI program for A333522
FORMULA
a(n) = A333403(2^(n-1)).
EXAMPLE
For n = 1:
- we can choose a(1) = 1.
For n = 2:
- 2 is prime,
- 3 is prime,
- 4 XOR 1 = 5 is prime,
- 5 is prime,
- 6 XOR 1 = 7 is prime,
- 7 is prime,
- neither 8 nor 8 XOR 1 = 9 is prime,
- so a(2) = 8.
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
Rémy Sigrist, Mar 26 2020
EXTENSIONS
a(10) from Giovanni Resta, Mar 30 2020
STATUS
approved