[go: up one dir, main page]

login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
Revision History for A341899 (Underlined text is an addition; strikethrough text is a deletion.)

Showing all changes.
A341899 a(n) is the smallest prime p > 10 such that when strings of n zeros are inserted between every pair of adjacent digits the result is also a prime.
(history; published version)
#10 by N. J. A. Sloane at Fri Jun 04 23:52:28 EDT 2021
STATUS

editing

approved

#9 by N. J. A. Sloane at Fri Jun 04 23:51:49 EDT 2021
NAME

a(n) is the smallest prime p > 10 such that the resulting number when inserting strings of exactly n zeros are eachinserted between every pair allof adjacent digits ofthe presult is also a prime.

STATUS

proposed

editing

Discussion
Fri Jun 04 23:52
N. J. A. Sloane: I rewrote the definition.
#8 by Felix Fröhlich at Fri Jun 04 09:23:43 EDT 2021
STATUS

editing

proposed

#7 by Felix Fröhlich at Fri Jun 04 09:19:34 EDT 2021
NAME

a(n) is the smallest prime p > 10 such that the resulting number when inserting strings of exactly n zeros each between all adjacent digits of p is also prime.

#6 by Felix Fröhlich at Fri Jun 04 09:18:47 EDT 2021
KEYWORD

nonn,changedbase

#5 by Felix Fröhlich at Fri Jun 04 09:17:44 EDT 2021
NAME

allocated for Felix Fröhlich

a(n) is the smallest prime p such that the resulting number when inserting strings of exactly n zeros each between all adjacent digits of p is also prime.

DATA

11, 19, 17, 13, 13, 23, 17, 17, 31, 13, 23, 41, 127, 61, 23, 13, 13, 67, 53, 89, 19, 227, 17, 29, 61, 151, 31, 37, 107, 53, 1741, 263, 167, 23, 31, 89, 61, 13, 43, 241, 53, 347, 1319, 19, 79, 419, 521, 19, 809, 677, 97, 97, 1223, 89, 13, 79, 67, 257, 17, 499

OFFSET

1,1

COMMENTS

First differs from A306920 at n = 13.

a(n) = A306920(n) if A306920(n) is < 100, i.e., is a two-digit number.

EXAMPLE

For n = 13: Inserting 13 zeros between all adjacent digits of 127 gives 10000000000000200000000000007, which is prime. Since 127 is the smallest prime where inserting exactly 13 zeros between all adjacent digits results in a number that is also prime, a(13) = 127.

PROG

(PARI) eva(n) = subst(Pol(n), x, 10)

insert_zeros(num, len) = my(d=digits(num), v=[]); for(k=1, #d-1, v=concat(v, concat([d[k]], vector(len)))); v=concat(v, d[#d]); eva(v)

a(n) = forprime(p=10, , if(ispseudoprime(insert_zeros(p, n)), return(p)))

CROSSREFS

Cf. A306920, A344637, A344936, A344937.

KEYWORD

allocated

nonn

AUTHOR

Felix Fröhlich, Jun 04 2021

STATUS

approved

editing

#4 by Felix Fröhlich at Fri Jun 04 09:17:44 EDT 2021
NAME

allocated for Felix Fröhlich

KEYWORD

recycled

allocated

#3 by R. J. Mathar at Fri Jun 04 07:32:51 EDT 2021
STATUS

editing

approved

#2 by R. J. Mathar at Fri Jun 04 07:32:48 EDT 2021
NAME

allocated for Vladimir Pletser

KEYWORD

allocated

recycled

STATUS

approved

editing

#1 by Vladimir Pletser at Mon Feb 22 22:10:46 EST 2021
NAME

allocated for Vladimir Pletser

KEYWORD

allocated

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 29 06:09 EDT 2024. Contains 375510 sequences. (Running on oeis4.)