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”).

A376692
Numbers with the most significant digit odd and alternating parity of digits.
2
1, 3, 5, 7, 9, 10, 12, 14, 16, 18, 30, 32, 34, 36, 38, 50, 52, 54, 56, 58, 70, 72, 74, 76, 78, 90, 92, 94, 96, 98, 101, 103, 105, 107, 109, 121, 123, 125, 127, 129, 141, 143, 145, 147, 149, 161, 163, 165, 167, 169, 181, 183, 185, 187, 189, 301, 303, 305, 307, 309
OFFSET
1,2
LINKS
PROG
(PARI) isok(n)=my(d=digits(n)); for(i=1, #d, if((d[i]-i)%2, return(0))); 1
CROSSREFS
Complement of A062285 within A030141.
Sequence in context: A327254 A054684 A294601 * A358529 A080207 A348017
KEYWORD
nonn,base
AUTHOR
Andrew Howroyd, Oct 01 2024
STATUS
approved