mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Blogorrhea > MattcAnderson

Reply
 
Thread Tools
Old 2022-06-15, 00:52   #1
MattcAnderson
 
MattcAnderson's Avatar
 
"Matthew Anderson"
Dec 2010
Oregon, USA

49516 Posts
Smile Matt's first dabbling with yafu

With some help, I was able to get yafu going on this laptop. I am sitting here in a coffee shop and I am having a good time.

Today's commands are
siqs(100)
and the output was
P2 = 13
C2 = 77

That is so cool!

Also, I tried some odd numbers
I also tried factor(13579)
Now I know that 13579 = 37*367
That makes today a good day, in my world.

Have a good one.

Regards,
Matt


Does anyone know if a coded loop is possible?
like (Maple)

for a from 1 to 100 do
if isprime(a) then print(a) end if
end do

Thanks in advance.

\
MattcAnderson is offline   Reply With Quote
Old 2022-06-15, 12:36   #2
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

32×11×37 Posts
Default

Quote:
Originally Posted by MattcAnderson View Post
With some help, I was able to get yafu going on this laptop. I am sitting here in a coffee shop and I am having a good time.

Today's commands are
siqs(100)
and the output was
P2 = 13
C2 = 77

That is so cool!
Pretty funny, but I wonder what version of yafu you are using? Because since at least the year 2013 yafu tells me:

Code:
.\yafu-x64.exe "siqs(100)"


input must be odd


***factors found***


***co-factor***
C3 = 100

ans = 100
And prior to that it would run some trial division first and get the correct answer.

Quote:
Originally Posted by MattcAnderson View Post
Does anyone know if a coded loop is possible?
like (Maple)

for a from 1 to 100 do
if isprime(a) then print(a) end if
end do

Thanks in advance.

\
I worked on that a while back but have since removed it. So, no.
bsquared is online now   Reply With Quote
Old 2022-06-15, 21:12   #3
MattcAnderson
 
MattcAnderson's Avatar
 
"Matthew Anderson"
Dec 2010
Oregon, USA

3×17×23 Posts
Default

oops, my bad, thanks for catching that Ben.
I appreciate the effort to proofread my stuff.



I found out about good prime numbers recently

MCA
June 15 2022

PS Thanks for the info. It looks like YAFU is not as powerful as Maple computer programming language.
Maple has things like "if then" and "loops"

As kind of a funny joke, note that with good primes you compare a prime with the product of the next smallest and the next biggest.
So you play "monkey in the middle" with numbers.

Have a nice day.

see attached
Attached Files
File Type: pdf Scan_0014.pdf (294.9 KB, 17 views)

Last fiddled with by MattcAnderson on 2022-06-15 at 21:15 Reason: edited to add
MattcAnderson is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Matt vs factordb MattcAnderson MattcAnderson 20 2022-07-20 17:14
Matt's thought for the week MattcAnderson MattcAnderson 6 2022-07-09 17:42
Matt's various websites MattcAnderson MattcAnderson 6 2022-04-17 05:01
Matt's Sandbox MattcAnderson MattcAnderson 20 2021-04-08 04:23
Running YAFU via Aliqueit doesn't find yafu.ini EdH YAFU 8 2018-03-14 17:22

All times are UTC. The time now is 03:08.


Wed Sep 28 03:08:13 UTC 2022 up 41 days, 36 mins, 0 users, load averages: 0.71, 0.74, 0.83

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, 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.

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