The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation. Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A175280 Base-9 pandigital primes: primes having at least one of each digit 0,...,8 when written in base 9. 10
 393474749, 393474821, 393475373, 393481069, 393486901, 393488437, 393492797, 393494477, 393499429, 393499517, 393500741, 393528029, 393528517, 393538157, 393541693, 393544709, 393545861, 393546149, 393551189, 393551357, 393552629 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS Terms in this sequence have at least 10 digits in base 9, i.e., are larger than 9^9, since sum(d_i 9^i) = sum(d_i) (mod 8), and 0+1+2+3+4+5+6+7+8 is divisible by 4. So there must be at least one repeated digit, which may not be even, else the resulting number is even. The smallest terms are therefore of the form "10123...." in base 9, where "...." is a permutation of "45678", cf. examples. LINKS Amiram Eldar, Table of n, a(n) for n = 1..10000 EXAMPLE The first terms of this sequence, i.e., smallest base-9 pandigital primes, are "1012346785", "1012346875", "1012347658", "1012356487", "1012365487", "1012367584", "1012374568", "1012376845", "1012384657", ... (written in base 9). MATHEMATICA Select[Range[4*10^8], Min @ DigitCount[#, 9] > 0 && PrimeQ[#] &] (* Amiram Eldar, Apr 13 2021 *) PROG (PARI) pdp( b=9/*base*/, c=99/* # of terms to produce */) = { my(t, a=[], bp=vector(b, i, b^(b-i))~, offset=b*(b^b-1)/(b-1)); for( i=1, b-1, offset+=b^b; for( j=0, b!-1, isprime(t=offset-numtoperm(b, j)*bp) | next; #(a=concat(a, t))

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.

Last modified May 10 23:31 EDT 2021. Contains 343784 sequences. (Running on oeis4.)
{"ft_lang_label":"__label__en","ft_lang_prob":0.66177773,"math_prob":0.9365572,"size":2300,"snap":"2021-21-2021-25","text_gpt3_token_len":841,"char_repetition_ratio":0.12848432,"word_repetition_ratio":0.0,"special_character_ratio":0.5282609,"punctuation_ratio":0.25714287,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9811365,"pos_list":[0,1,2],"im_url_duplicate_count":[null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-05-11T03:39:33Z\",\"WARC-Record-ID\":\"<urn:uuid:e5dcf488-e4d9-43c2-ac45-0adac734ab53>\",\"Content-Length\":\"17682\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:7b360e80-482a-4618-aa20-041095470bf6>\",\"WARC-Concurrent-To\":\"<urn:uuid:1ce852ab-4427-4b86-a584-9e8b76f58002>\",\"WARC-IP-Address\":\"104.239.138.29\",\"WARC-Target-URI\":\"https://oeis.org/A175280\",\"WARC-Payload-Digest\":\"sha1:CVRSOYWOJPIZ5ZLKQDK43EPJD2YCTBZK\",\"WARC-Block-Digest\":\"sha1:EEI2W2NVBC4TWGIFQSR47VWXBMYLMSIR\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-21/CC-MAIN-2021-21_segments_1620243991641.5_warc_CC-MAIN-20210511025739-20210511055739-00435.warc.gz\"}"}