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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A031969 4-digit numbers with distinct digits (in decimal). 6
1023, 1024, 1025, 1026, 1027, 1028, 1029, 1032, 1034, 1035, 1036, 1037, 1038, 1039, 1042, 1043, 1045, 1046, 1047, 1048, 1049, 1052, 1053, 1054, 1056, 1057, 1058, 1059, 1062, 1063, 1064, 1065, 1067, 1068, 1069, 1072, 1073, 1074, 1075, 1076, 1078, 1079, 1082 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Last week's challenge on National Public Radio from listener Henry Hook of Brooklyn, N.Y.: In a few weeks something will happen that hasn't happened since 1987. What is it? Answer: A year with no repeat digits (1987, 2013). - Jonathan Vos Post, Dec 02 2012

The subset of primes begins: 1039, 1049, 1063, 1069, 1087, 1093, 1097.

LINKS

T. D. Noe, Table of n, a(n) for n = 1..4536 (complete)

MATHEMATICA

Select[Range[1000, 1100], Length[Union[IntegerDigits[#]]] == 4 &] (* T. D. Noe, Dec 04 2012 *)

PROG

(PARI) is(n)=#digits(n)==4 && #Set(digits(n))==4 \\ Charles R Greathouse IV, Feb 11 2017

CROSSREFS

Sequence in context: A196739 A196291 A145589 * A166512 A038461 A158421

Adjacent sequences:  A031966 A031967 A031968 * A031970 A031971 A031972

KEYWORD

nonn,base,fini,full

AUTHOR

Clark Kimberling

EXTENSIONS

New name from Charles R Greathouse IV, Feb 11 2017

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified April 27 08:46 EDT 2017. Contains 285508 sequences.