uuuuuuuuuuummmmmmmmmmm....
- The_Real_Michael_1
- Black Hole
- Reactions:
- Posts: 1525
- Joined: 23 Mar 2020, 15:16
- Plugins: Showcase Store
-
Plugin Creator
Platform
uuuuuuuuuuummmmmmmmmmm....
Write any five prime numbers.
- CommanderABab
- AB
- Reactions:
- Posts: 11135
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: uuuuuuuuuuummmmmmmmmmm....
2,3,5,7,11
- CommanderABab
- AB
- Reactions:
- Posts: 11135
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: uuuuuuuuuuummmmmmmmmmm....
Which leads to the sequence 5,8,12,18,24.
- PresidentSmith609
- Metropolitan
- Reactions:
- Posts: 115
- Joined: 25 Mar 2021, 13:27
- Location: India
- Plugins: Showcase Store
- Version: Beta
- Contact:
Re: uuuuuuuuuuummmmmmmmmmm....
9,901---333,667---1,111,111,111,111,111,111---683---25781083.
- Bearbear76
- Former Bearbear65
- Reactions:
- Posts: 5730
- Joined: 10 Feb 2017, 14:53
- Location: L2 cache
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: uuuuuuuuuuummmmmmmmmmm....
unlimited prime numbers!
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
- The_Real_Michael_1
- Black Hole
- Reactions:
- Posts: 1525
- Joined: 23 Mar 2020, 15:16
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: uuuuuuuuuuummmmmmmmmmm....
Write "ANY FIVE PRIME NUMBERS".
- Bearbear76
- Former Bearbear65
- Reactions:
- Posts: 5730
- Joined: 10 Feb 2017, 14:53
- Location: L2 cache
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: uuuuuuuuuuummmmmmmmmmm....
Hmmm...
59, 83, 11, 2, 61
59, 83, 11, 2, 61
- CommanderABab
- AB
- Reactions:
- Posts: 11135
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
- The_Real_Michael_1
- Black Hole
- Reactions:
- Posts: 1525
- Joined: 23 Mar 2020, 15:16
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: uuuuuuuuuuummmmmmmmmmm....
I did this because i was bored...
Anyway, great job guys!
Anyway, great job guys!