The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A050289 Zeroless pandigital numbers: numbers containing the digits 1-9 (each appearing at least once) and no 0's. 48
 123456789, 123456798, 123456879, 123456897, 123456978, 123456987, 123457689, 123457698, 123457869, 123457896, 123457968, 123457986, 123458679, 123458697, 123458769, 123458796, 123458967, 123458976, 123459678, 123459687, 123459768, 123459786, 123459867, 123459876, 123465789 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS The first 9! = 362880 terms of this sequence are permutations of the digits 1-9 with a(9!) = 987654321. - Jeremy Gardiner, May 28 2010 First differences are given in A209280 (for the first 9! terms) or in A219664 (for at least as much initial terms). - M. F. Hasler, Mar 03 2013 A230959(a(n)) = 0. - Reinhard Zumkeller, Nov 02 2013 After the first 9! terms, 8! + 7! = 9*7! of the initial terms are repeated with a leading '1' prefixed, cf. formula. However, a(9!+8!+7!) = 1219...3 is followed by 122...9 and permutations of the last 7 digits, before 12314..9. - M. F. Hasler, Jan 08 2020, corrected Aug 11 2022 thanks to a remark from Michael S. Branicky LINKS Table of n, a(n) for n=1..25. H. Fripertinger, Operate on "9" to display zeroless pandigitals James Grime and Brady Haran, Why 381,654,729 is awesome, Numberphile video (2013). Eric Weisstein's World of Mathematics, Pandigital Number Chai Wah Wu, Pandigital and penholodigital numbers, arXiv:2403.20304 [math.GM], 2024. See p. 1. FORMULA a(n + 9!) = a(n) + 10^9 for 1 <= n <= 8! + 7!. - M. F. Hasler, Jan 08 2020, corrected Aug 11 2022 PROG (PARI) apply( {A050289(n)=if(n<=7!*81, fromdigits(Vec(numtoperm(9, n-1)))+(n-1)\9!*10^9, "not yet implemented")}, [1..25]) \\ M. F. Hasler, Jan 07 2020, corrected Aug 11 2022 (Python) from itertools import count, islice, permutations, product def c(t): return len(set(t)) == 9 def t2i(t): return int("".join(map(str, t))) def agen(): yield from (t2i(p) for p in permutations(range(1, 10))) for d in count(10): yield from (t2i(p) for p in product(range(1, 10), repeat=d) if c(p)) print(list(islice(agen(), 25))) # Michael S. Branicky, May 30 2022, updated Aug 05 2022 CROSSREFS Cf. A050290, A133360, A171102. Sequence in context: A367595 A277057 A180408 * A372708 A204140 A288941 Adjacent sequences: A050286 A050287 A050288 * A050290 A050291 A050292 KEYWORD nonn,base AUTHOR Eric W. Weisstein EXTENSIONS Name clarified by Michael S. Branicky, Aug 05 2022 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.

Last modified June 19 05:57 EDT 2024. Contains 373492 sequences. (Running on oeis4.)