login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A007928 Numbers containing an even digit. 4
0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 32, 34, 36, 38, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 52, 54, 56, 58, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 72, 74, 76, 78, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 92, 94, 96, 98, 100 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Or, numbers whose product of digits is even.

Complement of A014261; A196563(a(n)) > 0. - Reinhard Zumkeller, Oct 04 2011

LINKS

Reinhard Zumkeller, Table of n, a(n) for n = 1..10000

F. Smarandache, Only Problems, Not Solutions!, Xiquan Publ., Phoenix-Chicago, 1993.

Index entries for 10-automatic sequences.

FORMULA

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

PROG

(MAGMA) [ n : n in [0..129] | IsEven(&*Intseq(n, 10)) ];

(Haskell)

import Data.List (findIndices)

a007928 n = a007928_list !! (n-1)

a007928_list = findIndices (> 0) a196563_list

-- Reinhard Zumkeller, Oct 04 2011

(PARI) is(n)=vecmin(Set(digits(n)%2))==0 \\ Charles R Greathouse IV, Feb 14 2017

CROSSREFS

Sequence in context: A117463 A248609 A055960 * A257219 A092451 A214673

Adjacent sequences:  A007925 A007926 A007927 * A007929 A007930 A007931

KEYWORD

nonn,base,easy

AUTHOR

R. Muller

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 23 03:21 EDT 2019. Contains 328335 sequences. (Running on oeis4.)