

A007930


Some nontrivial permutation of digits gives an even number.


1



20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 112, 114, 116, 118, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


COMMENTS

Also: Even numbers with more than 2 digits (so you can swap any two digits other than the last one), or numbers having at least one even digit not in the last position (so you can swap that one with the last digit).  M. F. Hasler, Sep 30 2012


LINKS

Table of n, a(n) for n=1..66.
F. Smarandache, Only Problems, Not Solutions!


FORMULA

a(n) ~ n.  Charles R Greathouse IV, Sep 19 2012


EXAMPLE

22 is a term since the permutation that swaps the first and second digits gives an even number.  N. J. A. Sloane, Sep 30 2012


PROG

(PARI) is_A007930(n)={!bittest(n, 0) & n>99  while(n\=10, bittest(n, 0)  return(1))} \\  M. F. Hasler, Sep 30 2012


CROSSREFS

Cf. A007959.
Sequence in context: A078286 A004461 A008553 * A319678 A270045 A133895
Adjacent sequences: A007927 A007928 A007929 * A007931 A007932 A007933


KEYWORD

nonn,base


AUTHOR

R. Muller


EXTENSIONS

Missing terms 112, 114, 116, 118 added by Sean A. Irvine, Feb 19 2018


STATUS

approved



