login
A305294
Prime shift towards smaller primes, conjugated by the EKG-permutation: a(n) = A064664(A064989(A064413(n))).
3
1, 1, 1, 2, 2, 3, 2, 1, 5, 5, 4, 3, 10, 10, 9, 2, 1, 5, 14, 14, 13, 8, 4, 6, 11, 10, 20, 20, 19, 3, 1, 28, 28, 27, 9, 33, 33, 32, 7, 5, 14, 37, 37, 36, 2, 6, 20, 8, 10, 24, 18, 4, 15, 21, 11, 43, 43, 42, 13, 57, 57, 56, 3, 1, 28, 61, 61, 60, 12, 19, 33, 5, 67, 67, 66, 17, 9, 25, 14, 74, 74, 73, 7, 29, 34, 6, 37, 81, 81, 80, 2
OFFSET
1,4
FORMULA
a(n) = A064664(A064989(A064413(n))).
For all n >= 1, a(A305293(n)) = n.
For all n >= 2, a(A064423(n)) = a(A064955(n)) = A064955(n-1).
For all n >= 3, a(1+A064955(n)) = A064423(n-1).
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, May 31 2018
STATUS
approved