[go: up one dir, main page]

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

Showing entries 1-10 | older changes
Smallest prime p such that floor((10^n)/p) is prime, or 0 if no such number exists.
(history; published version)
#13 by OEIS Server at Mon Jul 31 10:08:08 EDT 2023
LINKS

Robert Israel, <a href="/A090519/b090519_1.txt">Table of n, a(n) for n = 1..1800</a>

#12 by Michael De Vlieger at Mon Jul 31 10:08:08 EDT 2023
STATUS

reviewed

approved

Discussion
Mon Jul 31
10:08
OEIS Server: Installed first b-file as b090519.txt.
#11 by Joerg Arndt at Mon Jul 31 08:21:12 EDT 2023
STATUS

proposed

reviewed

#10 by Robert Israel at Sun Jul 30 22:36:18 EDT 2023
STATUS

editing

proposed

#9 by Robert Israel at Sun Jul 30 22:25:42 EDT 2023
LINKS

Robert Israel, <a href="/A090519/b090519_1.txt">Table of n, a(n) for n = 1..1800</a>

MAPLE

f:= proc(n) local t, p;

t:= 10^n;

p:= 1;

while p < t/2 do

p:= nextprime(p);

if isprime(floor(t/p)) then return p fi

od;

0

end proc:

map(f, [$1..50]); # Robert Israel, Jul 30 2023

STATUS

approved

editing

#8 by Jon E. Schoenfield at Sun Nov 18 00:52:47 EST 2018
STATUS

editing

approved

#7 by Jon E. Schoenfield at Sun Nov 18 00:52:44 EST 2018
NAME

Smallest prime p such that floor[((10^n)/p] ) is prime, or 0 if no such number exists.

COMMENTS

Conjecture: No term is zero. Subsidiary Sequence: Number of primes in floor[((10^n)/p], ), p is a prime. a(1) = 3, the primes are 10/2, floor[(10/3] ) and 10/5.

EXAMPLE

a(5) = 89, as floor[((10^5)/89]) = 1123 is the largest such prime.

MATHEMATICA

<<NumberTheory`; Do[k = 2; While[ !PrimeQ[Floor[10^n / k]], k = NextPrime[k]]; Print[k], {n, 1, 50}] (* _Ryan Propper_, Jun 19 2005 *)

STATUS

approved

editing

#6 by N. J. A. Sloane at Thu Dec 05 19:56:38 EST 2013
AUTHOR

_Amarnath Murthy (amarnath_murthy(AT)yahoo.com), _, Dec 07 2003

Discussion
Thu Dec 05
19:56
OEIS Server: https://oeis.org/edit/global/2075
#5 by Charles R Greathouse IV at Wed Oct 02 15:12:36 EDT 2013
EXTENSIONS

Corrected and extended by _Ryan Propper (rpropper(AT)stanford.edu), _, Jun 19 2005

Discussion
Wed Oct 02
15:12
OEIS Server: https://oeis.org/edit/global/1961
#4 by N. J. A. Sloane at Fri Feb 27 03:00:00 EST 2009
COMMENTS

Conjecture: No term is zero. Subsidiary Sequence: Number of primes in floor[(10^n)/p], p is a prime. a(1) = 3, the primes are 10/2, floor[10/3], and 10/5.

KEYWORD

base,nonn,new