|
| |
|
|
A050278
|
|
Pandigital numbers: numbers containing the digits 0-9. Version 1: each digit appears exactly once.
|
|
35
| |
|
|
1023456789, 1023456798, 1023456879, 1023456897, 1023456978, 1023456987, 1023457689, 1023457698, 1023457869, 1023457896, 1023457968, 1023457986, 1023458679, 1023458697, 1023458769, 1023458796, 1023458967, 1023458976
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,1
|
|
|
COMMENTS
| This is a finite sequence with 9*9!=3265920 terms: a(9*9!)=9876543210.
A171102 is the infinite version, where each digit must appear at least once.
Subsequence of A134336 and of A178403; A178401(a(n)) = 1. [From Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), May 27 2010]
Smallest prime factors: A178775(n) = A020639(a(n)). [From Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Jun 11 2010]
A178788(a(n)) = 1. [From Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Jun 30 2010]
All these numbers are composite because the sum of the digits, 45, is divisible by 9. - T. D. Noe, Nov 09 2011
|
|
|
LINKS
| Robert G. Wilson v, (rgwv@rgwv.com), Table of n, a(n) for n = 1..1000 .
Eric Weisstein's World of Mathematics, Pandigital Number
|
|
|
FORMULA
| A050278 = 9*A171571. - M. F. Hasler, Jan 12 2012
A050278(n) = A171102(n) for n <= 9*9!.
|
|
|
MATHEMATICA
| Select[ FromDigits@# & /@ Permutations[ Range[0, 9]], # > 10^9 &, 20] (* From Robert G. Wilson v, May 30 2010, Jan 17 2012 *)
|
|
|
PROG
| (PARI) A050278(n)={ my(b=vector(9, k, 1+(n+9!-1)%(k+1)!\k!), t=b[9]-1, d=vector(9, i, i+(i>t)-1)); for(i=1, 8, t=10*t+d[b[9-i]]; d=vecextract(d, Str("^"b[9-i]))); t*10+d[1]} \\ - M. F. Hasler, Jan 15 2012
(PARI) is_A050278(n)={ 9<#vecsort(Vecsmall(Str(n)), , 8) & n<1e10 } /* assuming that n is a nonnegative integer */ - M. F. Hasler, Jan 10 2012
|
|
|
CROSSREFS
| Cf. A171102, A050288, A050289.
Cf. A199630, A199631, A114260, A199632, A199633.
Sequence in context: A204045 A061604 * A171102 A051018 A020667 A154566
Adjacent sequences: A050275 A050276 A050277 * A050279 A050280 A050281
|
|
|
KEYWORD
| nonn,base,fini
|
|
|
AUTHOR
| Eric Weisstein (eric(AT)weisstein.com)
|
|
|
EXTENSIONS
| Edited by N. J. A. Sloane, Sep 25 2010 to clarify that this is a finite sequence.
|
| |
|
|