OFFSET
1,2
LINKS
FORMULA
MATHEMATICA
Map[BitXor[#, # - 1] &, Range[100]^2] (* Paolo Xausa, Dec 18 2024 *)
PROG
(PARI) A379007(n) = bitxor(n^2, ((n^2)-1));
(Python)
def A379007(n): return (m:=n**2)^m-1 # Chai Wah Wu, Dec 17 2024
CROSSREFS
KEYWORD
nonn,mult,new
AUTHOR
Antti Karttunen, Dec 16 2024
STATUS
approved