A007930 Some nontrivial permutation of digits gives an even number.
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
Offset: 1
Examples
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
Links
- F. Smarandache, Only Problems, Not Solutions!
Crossrefs
Cf. A007959.
Programs
-
PARI
is_A007930(n)={!bittest(n, 0) & n>99 || while(n\=10, bittest(n, 0) || return(1))} \\ - M. F. Hasler, Sep 30 2012
Formula
a(n) ~ n. - Charles R Greathouse IV, Sep 19 2012
Extensions
Missing terms 112, 114, 116, 118 added by Sean A. Irvine, Feb 19 2018
Comments