login
Numbers having in decimal representation at least one pair of consecutive digits with the same parity.
5

%I #12 Feb 24 2025 04:36:16

%S 11,13,15,17,19,20,22,24,26,28,31,33,35,37,39,40,42,44,46,48,51,53,55,

%T 57,59,60,62,64,66,68,71,73,75,77,79,80,82,84,86,88,91,93,95,97,99,

%U 100,102,104,106,108,110,111,112,113,114,115,116,117,118,119,120

%N Numbers having in decimal representation at least one pair of consecutive digits with the same parity.

%H Reinhard Zumkeller, <a href="/A228709/b228709.txt">Table of n, a(n) for n = 1..10000</a>

%F A228710(a(n)) = 0.

%o (Haskell)

%o a228709 n = a228709_list !! (n-1)

%o a228709_list = filter ((== 0) . a228710) [0..]

%Y Cf. A030141 (complement), A228710, A228722, A228723.

%Y Cf. subsequences: A059708, A010785 (apart from first 10 terms).

%K nonn,base

%O 1,1

%A _Reinhard Zumkeller_, Aug 31 2013