The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

A327463

a(1) = 1; thereafter, a(n) is the reversal of the next prime after a(n - 1) in base 6 if n is prime, and the reversal of the next composite after a(n - 1) in base 6 if n is composite.