login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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