a(n) is the concatenation of the numbers k, 2 <= k <= 9, such that the base-k representation of n, read as a decimal number, is prime; a(n) = 0 if there is no such base.

A236356

a(n) is the concatenation of the numbers k, 2 <= k <= 9, such that the base-k representation of n, read as a decimal number, is prime; a(n) = 0 if there is no such base.

Terms

    a(0) =0a(1) =3456789a(2) =2456789a(3) =3a(4) =246789a(5) =5a(6) =4689a(7) =57a(8) =68a(9) =379a(10) =48a(11) =9a(12) =45a(13) =0a(14) =68a(15) =59a(16) =47a(17) =0a(18) =468a(19) =0a(20) =59a(21) =37a(22) =245a(23) =0a(24) =68a(25) =5a(26) =6a(27) =59a(28) =47a(29) =0

External references