login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A324051
a(n) = A106315(A156552(n)).
6
0, 1, 2, 5, 4, 2, 6, 0, 1, 18, 10, 3, 16, 4, 12, 67, 12, 4, 18, 30, 36, 260, 22, 16, 8, 8, 44, 5, 20, 1029, 30, 28, 164, 36, 28, 6, 256, 96, 44, 4102, 36, 7, 66, 16, 104, 16391, 46, 12, 13, 32, 130, 8, 28, 51, 70, 480, 942, 65544, 42, 9, 2724, 32, 66, 30, 84, 262153, 124, 508, 40, 10, 4, 1048586, 3320, 20, 188, 50, 52, 11, 78, 24
OFFSET
2,3
COMMENTS
Positions of zeros, which is sequence A005940(1+A001599(n)) sorted into ascending order: 2, 9, 125, 325, 351, 4199, ..., has A324201 as its subsequence.
FORMULA
a(n) = A106315(A156552(n)).
a(n) = (A156552(n)*A324105(n)) mod A323243(n).
PROG
(PARI)
A106315(n) = (n*numdiv(n) % sigma(n));
A064989(n) = {my(f); f = factor(n); if((n>1 && f[1, 1]==2), f[1, 2] = 0); for (i=1, #f~, f[i, 1] = precprime(f[i, 1]-1)); factorback(f)};
A156552(n) = if(1==n, 0, if(!(n%2), 1+(2*A156552(n/2)), 2*A156552(A064989(n))));
KEYWORD
nonn
AUTHOR
Antti Karttunen, Feb 19 2019
STATUS
approved