[go: up one dir, main page]

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

Showing entries 1-10 | older changes
Smallest prime ending in exactly n 9's.
(history; published version)
#28 by OEIS Server at Tue Aug 02 09:31:45 EDT 2022
LINKS

Hugo Pfoertner, <a href="/A065582/b065582_1.txt">Table of n, a(n) for n = 1..500</a> (first 100 terms from Harry J. Smith).

#27 by Michel Marcus at Tue Aug 02 09:31:45 EDT 2022
STATUS

reviewed

approved

Discussion
Tue Aug 02
09:31
OEIS Server: Installed new b-file as b065582.txt.  Old b-file is now b065582_1.txt.
#26 by Hugo Pfoertner at Tue Aug 02 09:29:50 EDT 2022
STATUS

proposed

reviewed

#25 by Michel Marcus at Sat Jul 30 09:21:39 EDT 2022
STATUS

editing

proposed

#24 by Michel Marcus at Sat Jul 30 09:21:31 EDT 2022
LINKS

Hugo Pfoertner, <a href="/A065582/b065582_1.txt">Table of n, a(n) for n = 1..500</a>, (first 100 terms from Harry J. Smith).

STATUS

proposed

editing

Discussion
Sat Jul 30
09:21
Michel Marcus: yes thanks
#23 by Michael S. Branicky at Sat Jul 30 08:59:30 EDT 2022
STATUS

editing

proposed

#22 by Michael S. Branicky at Sat Jul 30 08:59:28 EDT 2022
PROG

(Python)

from sympy import isprime

def a(n):

pow, end, i = 10**n, 10**n-1, 1

while i%10 == 9 or not isprime(i*pow + end): i += 1

return i*pow + end

print([a(n) for n in range(1, 20)]) # Michael S. Branicky, Jul 30 2022

STATUS

proposed

editing

#21 by Hugo Pfoertner at Sat Jul 30 08:51:50 EDT 2022
STATUS

editing

proposed

#20 by Hugo Pfoertner at Sat Jul 30 08:51:02 EDT 2022
COMMENTS

From Jeppe Stig Nielsen, Jul 30 2022: (Start)

Can decrease, for example a(25) < a(24). So not the same as Smallest prime ending in n or more 9s. - _Jeppe Stig Nielsen_, Jul 30 2022

a(n) can contain other 9s as well, for example a(46), a(118), a(156). - _Jeppe Stig Nielsen_, Jul 30 2022(End)

STATUS

proposed

editing

#19 by Hugo Pfoertner at Sat Jul 30 08:47:33 EDT 2022
STATUS

editing

proposed