uuuuuuuuuuummmmmmmmmmm....

Here you can talk about everything you want.
User avatar
The_Real_Michael_1
Black Hole
Reactions:
Posts: 1167
Joined: Mon Mar 23, 2020 15:16
Location: On a boulevard in Sofiarest
Plugins: Show
Contact:

Plugin Creator

Platform

uuuuuuuuuuummmmmmmmmmm....

#1

Post by The_Real_Michael_1 »

Write any five prime numbers.

User avatar
CommanderABab
AB
Reactions:
Posts: 9367
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: uuuuuuuuuuummmmmmmmmmm....

#2

Post by CommanderABab »

2,3,5,7,11
...............:) .Image

User avatar
CommanderABab
AB
Reactions:
Posts: 9367
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: uuuuuuuuuuummmmmmmmmmm....

#3

Post by CommanderABab »

Which leads to the sequence 5,8,12,18,24.
...............:) .Image

PresidentSmith609
Small-town resident
Reactions:
Posts: 41
Joined: Thu Mar 25, 2021 13:27
Location: India
Plugins: Show
Contact:

Re: uuuuuuuuuuummmmmmmmmmm....

#4

Post by PresidentSmith609 »

9,901---333,667---1,111,111,111,111,111,111---683---25781083.

User avatar
Bearbear76
Former Bearbear65
Reactions:
Posts: 5416
Joined: Fri Feb 10, 2017 14:53
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: uuuuuuuuuuummmmmmmmmmm....

#5

Post by Bearbear76 »

unlimited prime numbers! :calc

Code: Select all    Reset

function is_prime(number) if number == 2 then return true end if number == 1 or number % 2 == 0 then return false end local i = 3 while number >= i^2 do if number % i == 0 then return false end i = i + 1 end return true end for i = 1, 100 do -- Change the "100" to a bigger value to get more if is_prime(i) then print(i.." is a prime number!") end end
Interactive Lua editor
Run
Just my opinion
I'm probably recompiling my kernel... :o

User avatar
The_Real_Michael_1
Black Hole
Reactions:
Posts: 1167
Joined: Mon Mar 23, 2020 15:16
Location: On a boulevard in Sofiarest
Plugins: Show
Contact:

Plugin Creator

Platform

Re: uuuuuuuuuuummmmmmmmmmm....

#6

Post by The_Real_Michael_1 »

Write "ANY FIVE PRIME NUMBERS".

User avatar
Bearbear76
Former Bearbear65
Reactions:
Posts: 5416
Joined: Fri Feb 10, 2017 14:53
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: uuuuuuuuuuummmmmmmmmmm....

#7

Post by Bearbear76 »

Hmmm...

59, 83, 11, 2, 61
Just my opinion
I'm probably recompiling my kernel... :o

User avatar
CommanderABab
AB
Reactions:
Posts: 9367
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: uuuuuuuuuuummmmmmmmmmm....

#8

Post by CommanderABab »

CommanderABab wrote:
Sat Apr 10, 2021 22:51
Which leads to the sequence 5,8,12,18,24.
See it here:

https://youtu.be/6X2D497is6Y
...............:) .Image

Online
User avatar
MrKingGuy
Falling Waffle
Reactions:
Posts: 124
Joined: Fri Dec 18, 2020 14:15
Location: Malaysia
Plugins: Show

Platform

Re: uuuuuuuuuuummmmmmmmmmm....

#9

Post by MrKingGuy »

71, 73, 79, 83, 89
 ! Message from: MrKingGuy
enter text here

User avatar
The_Real_Michael_1
Black Hole
Reactions:
Posts: 1167
Joined: Mon Mar 23, 2020 15:16
Location: On a boulevard in Sofiarest
Plugins: Show
Contact:

Plugin Creator

Platform

Re: uuuuuuuuuuummmmmmmmmmm....

#10

Post by The_Real_Michael_1 »

I did this because i was bored...
Anyway, great job guys!

Post Reply Previous topicNext topic

Return to “Smalltalk”