|
1, 1, 1, 1, 3, 3, 5, 1, 1, 5, 7, 3, 11, 7, 3, 1, 13, 9, 17, 5, 5, 11, 19, 3, 9, 13, 1, 7, 23, 15, 29, 1, 7, 17, 15, 9, 31, 19, 11, 5, 37, 21, 41, 11, 3, 23, 43, 3, 25, 25, 13, 13, 47, 27, 21, 7, 17, 29, 53, 15, 59, 31, 5, 1, 33, 33, 61, 17, 19, 35, 67, 9, 71, 37, 9, 19, 35, 39, 73, 5, 1, 41, 79, 21, 39, 43, 23, 11
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,5
|
|
LINKS
|
|
|
FORMULA
|
|
|
PROG
|
(PARI)
A064989(n) = { my(f=factor(A000265(n))); for(i=1, #f~, f[i, 1] = precprime(f[i, 1]-1)); factorback(f); };
(Python)
from math import prod
from sympy import factorint, prevprime
def A353412(n): return int(bin(prod(1 if p == 2 else prevprime(p)*e for p, e in factorint(n).items()) if n % 2 else n//2)[2:].rstrip('0'), 2) # Chai Wah Wu, Apr 18 2022
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|