Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Revision History for A372207

(Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
a(n) is the smallest prime number that is obtained by concatenating 2 consecutive n-digit integers.
(history; published version)
#41 by OEIS Server at Mon May 20 16:51:12 EDT 2024
LINKS

Michael S. Branicky, <a href="/A372207/b372207_1.txt">Table of n, a(n) for n = 1..500</a>

#40 by N. J. A. Sloane at Mon May 20 16:51:07 EDT 2024
STATUS

proposed

approved

Discussion
Mon May 20
16:51
OEIS Server: Installed first b-file as b372207.txt.
#39 by Michael S. Branicky at Sun May 19 18:14:47 EDT 2024
STATUS

editing

proposed

#38 by Michael S. Branicky at Sun May 19 18:14:44 EDT 2024
PROG

(Python)

from sympy import isprime

def a(n):

if n == 1: return 23

lb, ub = 10**(n-1), 10**n

for k in range(lb, ub, 2):

base = k*ub

for inc in [k-1, k+1]:

if inc >= lb and isprime(t:=base+inc):

return t

print([a(n) for n in range(1, 16)]) # Michael S. Branicky, May 19 2024

STATUS

proposed

editing

#37 by Michael S. Branicky at Sun May 19 15:45:12 EDT 2024
STATUS

editing

proposed

Discussion
Sun May 19
18:17
Gonzalo Martínez: 500 terms! Awesome, Michael. Do you think it is interesting now to propose the sequence a(1)=3 and a(n) = A372207(n) (mod 10^(n-1)), n>1. It turns out: 3, 3, 1, 1, 1, 1, 7, 11, 11, 23, 41, 3, 9, 7, 1, 1, 1, 11 ,3 ,1, 27, 11, 47, 31, 11, 191, 53, 101,...
#36 by Michael S. Branicky at Sun May 19 15:45:08 EDT 2024
EXTENSIONS

More terms a(12) and beyond from Michael S. Branicky, May 19 2024

#35 by Michael S. Branicky at Sun May 19 15:44:29 EDT 2024
LINKS

Michael S. Branicky, <a href="/A372207/b372207_1.txt">Table of n, a(n) for n = 1..500</a>

STATUS

proposed

editing

#34 by Michael S. Branicky at Sun May 19 15:40:44 EDT 2024
STATUS

editing

proposed

#33 by Michael S. Branicky at Sun May 19 15:40:18 EDT 2024
DATA

23, 1213, 102101, 10021001, 1000810007, 100010100011, 10000241000023, 1000004210000041, 100000002100000003, 10000000081000000009, 1000000000810000000007, 100000000002100000000001, 10000000000021000000000001, 1000000000001010000000000011, 100000000000002100000000000003

EXTENSIONS

More terms from Michael S. Branicky, May 19 2024

STATUS

proposed

editing

#32 by Jon E. Schoenfield at Sun May 19 14:32:15 EDT 2024
STATUS

editing

proposed