OFFSET
1,2
LINKS
FORMULA
PROG
(PARI)
A005940(n) = { my(p=2, t=1); n--; until(!n\=2, if((n%2), (t*=p), p=nextprime(p+1))); t }; \\ From A005940
A065621(n) = bitxor(n-1, n+n-1);
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Feb 22 2020
STATUS
approved