|
|
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
|
|
|
FORMULA
|
|
|
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
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
R. Muller
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|