login
Numbers n such that string 0,2 occurs in the base 5 representation of n but not of n+1.
1

%I #9 Dec 04 2015 01:37:36

%S 27,52,77,102,127,139,152,177,202,227,252,264,277,302,327,352,377,389,

%T 402,427,452,477,502,514,527,552,577,602,627,639,652,699,702,727,752,

%U 764,777,802,827,852,877,889,902,927,952,977

%N Numbers n such that string 0,2 occurs in the base 5 representation of n but not of n+1.

%H Chai Wah Wu, <a href="/A044460/b044460.txt">Table of n, a(n) for n = 1..3512</a>

%o (Python)

%o from gmpy2 import digits

%o A044460_list = [n for n in range(5**7) if '02' in digits(n,5) and '02' not in digits(n+1,5)] # _Chai Wah Wu_, Dec 03 2015

%K nonn,base

%O 1,1

%A _Clark Kimberling_