login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A365375 Numbers from which two digits can be chosen, the difference being any value from 0 to 9. 0
100269, 100479, 101269, 101479, 102269, 102669, 102699, 104479, 104779, 104799, 200589, 202589, 205589, 205889, 205899, 300789, 303789, 307789, 307889, 307899, 1000269, 1000479, 1001269, 1001479, 1002269, 1002349, 1002359, 1002369, 1002379, 1002469, 1002479, 1002489, 1002569, 1002579 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Anagrams of the terms are not included in the sequence.
There are 320 such numbers up to 10^7, the largest being 5067899.
LINKS
EXAMPLE
a(1) = 100269 and we have:
0 = 0 - 0
1 = 1 - 0
2 = 2 - 0
3 = 9 - 6
4 = 6 - 2
5 = 6 - 1
6 = 6 - 0
7 = 9 - 2
8 = 9 - 1
9 = 9 - 0
The integer 102069 being an anagram of 100269 is not in the sequence (though 102069 also produces the 10 digits).
MATHEMATICA
lst={}; Do[If[Union@Flatten[Abs@*Differences/@Subsets[IntegerDigits@k, {2}]]==Range[0, 9], If[FreeQ[lst, s=Sort@IntegerDigits@k], AppendTo[lst, s]; Print@k]], {k, 10^6}]
CROSSREFS
Cf. A219248.
Sequence in context: A249855 A120217 A120218 * A235901 A251171 A126166
KEYWORD
base,nonn
AUTHOR
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 05:35 EDT 2024. Contains 371697 sequences. (Running on oeis4.)