1,2

John Cerkan, Table of n, a(n) for n = 1..10000

308 is in the sequence because 308 in base 5 is 2213 and in base 6 it is 1232.

(PARI) is(n)=Set(digits(n, 5))==Set(digits(n, 6)) \\ Charles R Greathouse IV, Feb 11 2017

Subsequence of A037393.

Sequence in context: A270350 A060411 A037322 * A230452 A270478 A235495

Adjacent sequences: A037426 A037427 A037428 * A037430 A037431 A037432

nonn,base

Clark Kimberling

Edited by Don Reble, Apr 28 2006

Edited by John Cerkan, Feb 09 2017

approved