cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A007930 Some nontrivial permutation of digits gives an even number.

Original entry on oeis.org

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

Views

Author

R. Muller

Keywords

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

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
		

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