%I #10 Sep 27 2019 22:42:54
%S 1,2,3,4,5,1,2,4,1,4,5,1,2,4,1,4,5,1,2,4,1,4,5,1,4,1,4,1,2,4,5,1,4,1,
%T 4,1,2,4,1,4,5,1,2,4,1,4,5,1,4,1,4,1,2,4,1,4,1,4,5,1,2,4,1,4,1,4,5,1,
%U 4,1,2,4,5,1,4,1,4,1,2,4,1,4,5,1,4,1,4,1,2,4,1,4,1,4,1,4,5
%N 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.
%C The sequence is written in base 10.
%C Conjecture: a(n) <= 5.
%Y For bases 3,5,6,7,10 see A326894, A327464, A327463 = the present sequence, A327241, A326344.
%K nonn,base
%O 1,2
%A _N. J. A. Sloane_, Sep 27 2019
|