OFFSET
1,1
COMMENTS
PROG
(PARI)
A335885(n) = { my(f=factor(n)); sum(k=1, #f~, if(2==f[k, 1], 0, f[k, 2]*(1+min(A335885(f[k, 1]-1), A335885(f[k, 1]+1))))); };
isA335911(n) = (1==A335885(n));
(PARI)
A000265(n) = (n>>valuation(n, 2));
isA000668(n) = (isprime(n)&&!bitand(n, 1+n));
isA019434(n) = ((n>2)&&isprime(n)&&!bitand(n-2, n-1));
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jun 30 2020
STATUS
approved