mersenneforum.org  

Go Back   mersenneforum.org > Prime Search Projects > And now for something completely different

Reply
 
Thread Tools
Old 2017-01-16, 17:46   #89
sweety439
 
"99(4^34019)99 palind"
Nov 2016
(P^81993)SZ base 36

371310 Posts
Default

Are there any research for the smallest Smarandache prime in base b?
sweety439 is offline   Reply With Quote
Old 2018-06-15, 01:20   #90
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11100101011012 Posts
Default

I discovered my code for the sieve on my computer, so I was curious about the search. I see that the PRPNet server is down. What is the status of the search?
rogue is offline   Reply With Quote
Old 2018-06-15, 01:48   #91
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
San Diego, Calif.

101000000111012 Posts
Default

The search was finished to 10^6.
Batalov is offline   Reply With Quote
Old 2021-12-05, 20:07   #92
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
San Diego, Calif.

1026910 Posts
Lightbulb Extending A176024 - in progress...

Quote:
Originally Posted by Neil J. A. Sloane, OEIS Foundation
@Serge-
If you write the numbers in descending order, 1, 21, 321, 4321, 54321, ..., "n n-1 ... 321" (this is A000422 in the OEIS), then two primes are known, for n = 82 and 37765 . This is A176024, but it only has 2 terms. Can you get one more term? This might be child's play for you!

Best regards
Neil
Challenge accepted!

I wrote a different sieve for Smr(n), sieved and (with Ryan) we will test the survivors up to n<=500000 for starters.

A few interesting facts:
1. Both Sm(n) and Smr(n) are trivially divisible by 3 for all n != 1 (mod 3). Why? Because by definition they have all numbers from 1 to n, written out. Now for divisibility of 3, sum all digits up, and this is the same as summing up numbers from 1 to n. That's n(n+1)/2 and it will be divisible by 3 for n == 0 or 2 (mod 3)
2. Some formulae for Smr() for 2-digit, 3-, 4-, 5- , 6-digit size ranges of n:
Code:
#constant values (note that they are = Smr(99), Smr(999) and so on)
c2=(98*10^191+879*10^10+121)/99^2
c3=(998*10^2701-989)/999^2*10^191+c2
c4=(9998*10^36001-9989)/9999^2*10^2892+c3
c5=(99998*10^450001-99989)/99999^2*10^38893+c4

# Now, Smr() for 2-digit n values, for 3-, 4-, 5-, 6-digit (and can be extended, now that you see the rules):
Smr2(n)=((n*99-1)*10^(2*n-19)-89)/99^2*10^10+(8*10^10+1)/9^2
Smr3(n)=((n*999-1)*10^(3*n-299)-989)/999^2*10^191+c2
Smr4(n)=((n*9999-1)*10^(4*n-3999)-9989)/9999^2*10^2892+c3
Smr5(n)=((n*99999-1)*10^(5*n-49999)-99989)/99999^2*10^38893+c4
Smr6(n)=((n*999999-1)*10^(6*n-599999)-999989)/999999^2*10^488894+c5

#for the sieve, obviously, implement this: for every prime, loop { solve for n and remove it from list }
P.S. Once one sums up power series similar to Sum(k*10k), the result is rather aestetically pleasing (except the constants cd keep piling up),
Batalov is offline   Reply With Quote
Old 2021-12-06, 20:47   #93
frmky
 
frmky's Avatar
 
Jul 2003
So Cal

2,663 Posts
Default

Quote:
two primes are known
n=82 is trivial, but is 37765 proven or just prp? If proven, how?
frmky is offline   Reply With Quote
Old 2021-12-06, 21:07   #94
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
San Diego, Calif.

32×7×163 Posts
Default

Quote:
Originally Posted by frmky View Post
n=82 is trivial, but is 37765 proven or just prp? If proven, how?
I guess Neil was typing fast. Of course it is a PRP (it is 177719 decimal digits in length; btw, apparently I just now added it to FactorDB for the first time... and to PRPtop).

It can be written explicitly as a formula but the cd coefficients/addends will kill any hope for N+-1 factorization.
Batalov is offline   Reply With Quote
Old 2021-12-06, 21:57   #95
frmky
 
frmky's Avatar
 
Jul 2003
So Cal

1010011001112 Posts
Default

Quote:
Originally Posted by Batalov View Post
the cd coefficients/addends will kill any hope for N+-1 factorization.
That's what I concluded, but I wondered whether I was overlooking something.
frmky is offline   Reply With Quote
Old 2021-12-10, 01:37   #96
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
San Diego, Calif.

32×7×163 Posts
Cool

I had posted my 3-4-year old sieve for Sm() (many posts above).

I have now refactored and somewhat improved a similar sieve for Smr() and I am fairly content with the result; why? because while I can directly orthogonally verify that my factors are correct, e.g.
pfgw -N -od -q"Smr(1094410)%130152847681"
returns "Zero(0)"
in contrast, if I run
pfgw -N -f99999 q"Smr(1094410)"
it runs for hours to reach the factor (or cannot reach it even then).

...but I sieve all values (10-40 thousand per batch) at once, while PFGW works on one at a time. So it is pretty good for elimination. And then Ryan's cluster for the final verdict. Too bad we weren't lucky with Sm(); no (PR)primes are still known while they are definitely expected to exist.
I am more optimistic about Smr() -- it is 2.5x "denser".
Batalov is offline   Reply With Quote
Old 2021-12-15, 17:30   #97
JeppeSN
 
JeppeSN's Avatar
 
"Jeppe"
Jan 2016
Denmark

191 Posts
Plus

There is a Numberphile video out today where Neil Sloane describes these efforts:
https://www.youtube.com/watch?v=vKlVNFOHJ9I
/JeppeSN

Last fiddled with by JeppeSN on 2021-12-15 at 17:31
JeppeSN is offline   Reply With Quote
Old 2021-12-15, 19:45   #98
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
San Diego, Calif.

32×7×163 Posts
Default

Quote:
Originally Posted by JeppeSN View Post
There is a Numberphile video out today where Neil Sloane describes these efforts:
https://www.youtube.com/watch?v=vKlVNFOHJ9I
/JeppeSN
Now we see why Neil asked about it

I have never looked at the up-and-down variety that Neil was describing, but it is clear that those can be easily scripted using PFGW. The two primes that he mentioned are written as
Sm(9)*10^11+Smr(10)
Sm(2445)*10^8677+Smr(2446)


Writing a sieve is also feasible, just takes some writing. Maybe on the weekend. Without sieving, simply testing those numbers will not get one very far. Curiously, these are remarkably frequently divisible by 13 (and by 3 of course).
Batalov is offline   Reply With Quote
Old 2021-12-15, 21:40   #99
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
San Diego, Calif.

32×7×163 Posts
Cool

P.S. A pet peeve. NJAS keeps calling them "primes" in the video.
They aren't, strictly speaking. Even that Sm(2445)*10^8677+Smr(2446) is not proven, but it can be with a bit of ECPP-ing.
Batalov is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Prime residues of near-prime modulo a prime robert44444uk Math 27 2021-11-21 11:00
Primes of the form prime(a)+prime(b)+1=prime(c) and prime(b)-prime(a)-1=prime (c) Hugo1177 Miscellaneous Math 1 2021-01-05 08:09
Smarandache-Fibonacci Primes rogue And now for something completely different 5 2016-07-18 14:33
Smarandache-Wellin Primes rogue And now for something completely different 25 2016-01-01 17:07
Smarandache semiprimes sean Factoring 15 2014-11-09 06:05

All times are UTC. The time now is 15:49.


Fri Jul 7 15:49:05 UTC 2023 up 323 days, 13:17, 0 users, load averages: 0.92, 1.23, 1.21

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔