uuuuuuuuuuummmmmmmmmmm....

Here you can talk about everything you want.
User avatar
The_Real_Michael_1
Black Hole
Reactions:
Posts: 1511
Joined: 23 Mar 2020, 15:16
Location: Bing Chilling
Plugins: Showcase Store

Plugin Creator

Platform

uuuuuuuuuuummmmmmmmmmm....

#1

Post by The_Real_Michael_1 »

Write any five prime numbers.
User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: uuuuuuuuuuummmmmmmmmmm....

#2

Post by CommanderABab »

2,3,5,7,11
User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: uuuuuuuuuuummmmmmmmmmm....

#3

Post by CommanderABab »

Which leads to the sequence 5,8,12,18,24.
User avatar
PresidentSmith609
Metropolitan
Reactions:
Posts: 112
Joined: 25 Mar 2021, 13:27
Location: India
Plugins: Showcase Store
Version: Beta
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: 5730
Joined: 10 Feb 2017, 14:53
Location: L2 cache
Plugins: Showcase Store

Plugin Creator

Platform

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
User avatar
The_Real_Michael_1
Black Hole
Reactions:
Posts: 1511
Joined: 23 Mar 2020, 15:16
Location: Bing Chilling
Plugins: Showcase Store

Plugin Creator

Platform

Re: uuuuuuuuuuummmmmmmmmmm....

#6

Post by The_Real_Michael_1 »

Write "ANY FIVE PRIME NUMBERS".
User avatar
Bearbear76
Former Bearbear65
Reactions:
Posts: 5730
Joined: 10 Feb 2017, 14:53
Location: L2 cache
Plugins: Showcase Store

Plugin Creator

Platform

Re: uuuuuuuuuuummmmmmmmmmm....

#7

Post by Bearbear76 »

Hmmm...

59, 83, 11, 2, 61
User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: uuuuuuuuuuummmmmmmmmmm....

#8

Post by CommanderABab »

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

https://youtu.be/6X2D497is6Y
User avatar
KingShoot
Falling Waffle
Reactions:
Posts: 169
Joined: 18 Dec 2020, 14:15
Plugins: Showcase Store
Version: Beta

Platform

Re: uuuuuuuuuuummmmmmmmmmm....

#9

Post by KingShoot »

71, 73, 79, 83, 89
User avatar
The_Real_Michael_1
Black Hole
Reactions:
Posts: 1511
Joined: 23 Mar 2020, 15:16
Location: Bing Chilling
Plugins: Showcase Store

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”