OFFSET
1,3
COMMENTS
All terms belong to A042948.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, PARI program for A338502
EXAMPLE
The first terms, alongside a(1) XOR ... XOR a(n), are:
n a(n) a(1) AND ... AND a(n)
-- ---- ---------------------
1 0 0 = 0^2
2 1 1 = 1^2
3 5 4 = 2^2
4 4 0 = 0^2
5 9 9 = 3^2
6 8 1 = 1^2
7 17 16 = 4^2
8 16 0 = 0^2
9 25 25 = 5^2
10 24 1 = 1^2
11 37 36 = 6^2
12 21 49 = 7^2
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Oct 31 2020
STATUS
approved