Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #29 Oct 02 2019 12:43:40
%S 1,20,3,107,5,310,7,668,909,1253,11,2082,13,3224,3880,4670,17,6558,19
%N Maximum value for base-n variant of A326344.
%C For each n >= 2, let b_n(k) be the base-n A326344-like sequence defined as follows:
%C - b_n(1) = 1;
%C - b_n(k) = R_n(nextprime(b_n(k - 1))) if k is prime;
%C - b_n(k) = R_n(nextcompo(b_n(k - 1))) if k is composite,
%C where R_n(x) writes x in reverse in base n, then converts back to decimal.
%C a(n) is the maximum value of b_n(k) for k >= 1. All listed terms so far have been established by automating the methods of _Rémy Sigrist_ and _Andrew Weimholt_ in A326344.
%C The obvious conjecture is that a(n) = n-1 iff n-1 is 1 or an odd prime. - _N. J. A. Sloane_, Oct 02 2019
%e A326344 has a maximum value of 909, so a(10) = 909. A327241 has a maximum value of 310, so a(7) = 310.
%Y Cf. A326344, A326894, A327241.
%K nonn,base,more
%O 2,2
%A _Robert Dougherty-Bliss_, Sep 29 2019.