login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A029741 Even numbers with distinct digits. 2
0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 90, 92, 94, 96, 98, 102, 104, 106, 108, 120, 124, 126, 128, 130, 132, 134, 136, 138, 140, 142, 146 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

Maximum term is 9876543210. - Alonso del Arte, Jan 09 2020

LINKS

Table of n, a(n) for n=0..61.

Patrick De Geest, World!Of Numbers

MATHEMATICA

Select[2Range[0, 79], Max[DigitCount[#]] == 1 &] (* Harvey P. Dale, Dec 23 2013 *)

PROG

(Scala) def hasDistinctDigits(n: Int): Boolean = {

  val numerStr = n.toString

  val digitSet = numerStr.split("").toSet

  numerStr.length == digitSet.size

}

(0 to 198 by 2).filter(hasDistinctDigits) // Alonso del Arte, Jan 09 2020

CROSSREFS

Cf. A029740 (odd version). Union of that sequence with this sequence gives A010784.

Sequence in context: A054965 A059548 A064720 * A240171 A221284 A272670

Adjacent sequences:  A029738 A029739 A029740 * A029742 A029743 A029744

KEYWORD

nonn,fini,base

AUTHOR

Patrick De Geest

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 June 24 05:58 EDT 2021. Contains 345416 sequences. (Running on oeis4.)