[go: up one dir, main page]

login
Revision History for A090493 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
Least k such that n^k contains all the digits from 0 through 9, or 0 if no such k exists.
(history; published version)
#67 by Peter Luschny at Tue Aug 17 02:23:51 EDT 2021
STATUS

reviewed

approved

#66 by Michel Marcus at Sat Aug 14 13:24:49 EDT 2021
STATUS

proposed

reviewed

#65 by Michael S. Branicky at Fri Aug 13 11:58:06 EDT 2021
STATUS

editing

proposed

#64 by Michael S. Branicky at Fri Aug 13 11:57:03 EDT 2021
PROG

.. s = str(n)

.. if n == 1 or (s.count('0')==len(s)-1 and s.startswith('1')):

.... return 0

.. k = 1

.. count = 0

.. while count != 10:

.... count = 0

.... for i in range(10):

...... if str(n**k).count(str(i)) == 0:

........ count += 1

........ break

.... if count:

...... k += 1

.... else:

...... return k

.. print(a(n), end=', ')

.. n += 1

STATUS

proposed

editing

Discussion
Fri Aug 13
11:57
Michael S. Branicky: replaced .'s with spaces in Python
#63 by Jon E. Schoenfield at Fri Aug 13 11:49:52 EDT 2021
STATUS

editing

proposed

#62 by Jon E. Schoenfield at Fri Aug 13 11:49:43 EDT 2021
COMMENTS

a(n) >= ceiling(log_n(10)*9), whenever a(n)>0. This is because in order for an integer to have 10 digits its base -10 magnitude must be at least 9. - Ely Golden, Sep 06 2017

STATUS

proposed

editing

#61 by Dimiter Skordev at Fri Aug 13 10:43:45 EDT 2021
STATUS

editing

proposed

#60 by Dimiter Skordev at Fri Aug 13 10:42:57 EDT 2021
COMMENTS

a(n) >= ceiling(log_n(10)*9) , whenever a(where definedn)>0. This is because in order for an integer to have 10 digits its base 10 magnitude must be at least 9. - Ely Golden, Sep 06 2017

STATUS

approved

editing

#59 by OEIS Server at Wed Apr 08 07:34:01 EDT 2020
LINKS

Seiichi Manyama, <a href="/A090493/b090493_1.txt">Table of n, a(n) for n = 1..10000</a> (terms 1..1000 from T. D. Noe)

#58 by Alois P. Heinz at Wed Apr 08 07:34:01 EDT 2020
STATUS

proposed

approved

Discussion
Wed Apr 08
07:34
OEIS Server: Installed new b-file as b090493.txt.  Old b-file is now b090493_1.txt.