OFFSET
1,2
COMMENTS
This can be viewed as yet another "entanglement permutation" where the two complementary pairs to be interwoven together are even and odd numbers (A005843/A005408) which are entangled with the complementary pair even numbers (taken straight) and odd numbers in the order they appear in A003961: (A005843/A003961). Sequence A163511 has almost the same definition, but its domain starts from 0, which results a different permutation.
LINKS
FORMULA
PROG
(PARI)
default(primelimit, (2^31)+(2^30));
A003961(n) = my(f = factor(n)); for (i=1, #f~, f[i, 1] = nextprime(f[i, 1]+1)); factorback(f); \\ Using code of Michel Marcus
for(n=1, 16384, write("b246375.txt", n, " ", A246375(n)));
(Scheme, with memoizing definec-macro)
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Aug 27 2014
STATUS
approved