login
Numbers with the most significant digit odd and alternating parity of digits.
2

%I #8 Oct 01 2024 15:45:47

%S 1,3,5,7,9,10,12,14,16,18,30,32,34,36,38,50,52,54,56,58,70,72,74,76,

%T 78,90,92,94,96,98,101,103,105,107,109,121,123,125,127,129,141,143,

%U 145,147,149,161,163,165,167,169,181,183,185,187,189,301,303,305,307,309

%N Numbers with the most significant digit odd and alternating parity of digits.

%H Andrew Howroyd, <a href="/A376692/b376692.txt">Table of n, a(n) for n = 1..10000</a>

%o (PARI) isok(n)=my(d=digits(n)); for(i=1, #d, if((d[i]-i)%2, return(0))); 1

%Y Complement of A062285 within A030141.

%Y Cf. A030142, A030143, A080466.

%K nonn,base

%O 1,2

%A _Andrew Howroyd_, Oct 01 2024