Skip to content
View im-bacho's full-sized avatar

Block or report im-bacho

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
im-bacho/README.md

hello, im bacho

i love making funny things

stats most used langs

my primary languages:

primary languages here

what i know:

languages i know here

what i use:

databases i use here
databases i use here

what i do:

databases i use here

collatz in lua

math.randomseed(os.time())
local iter = 1
local start = math.random(0,999999)
local f = false
function col(a)
  if f then return a end
  iter = iter + 1
  if a<=1 then
    print("finished. iterations:", iter, "start number:", start)
    f = true
    return a
  else
    print(a, iter, math.fmod(a, 2))
    if math.fmod(a, 2)==0 then
      return col(a/2)
    else
      return col((a*3)-1)
    end
  end
end
print(start)
col(start)

Popular repositories Loading

  1. im-bacho im-bacho Public

  2. pybloxgen pybloxgen Public

    A simple Python-based Roblox account generator