Logo by rathinagiri - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Support us via Flattr FLATTR Link
 
*
Welcome, Guest. Please login or register. April 26, 2024, 04:28:52 AM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: collatz fractal extension  (Read 466 times)
0 Members and 1 Guest are viewing this topic.
M Benesi
Fractal Schemer
****
Posts: 1075



WWW
« on: January 31, 2014, 08:40:32 AM »

So, I was looking at the Collatz Problem, and saw that it works for all primes.

  The basic is :  if mod 2=0; divide x by 2
  else 3 *x +1

  Well, You can extend the primes.  In other words:

  if mod 2=0, divide x by 2.
  if mod 3=0, divide x by 3.

  else  x* 5 +1       (5 being the next prime)

  It works for all primes, so should make a nice mandy type 3d- something grainlier than what we've got so far.
  

 I'm hammered, and about to embark on a journey, so I hope some of you guys take care of business.

  Benesi.
Logged

kram1032
Fractal Senior
******
Posts: 1863


« Reply #1 on: January 31, 2014, 01:23:56 PM »

sounds interesting  smiley
Logged
s31415
Conqueror
*******
Posts: 110



WWW
« Reply #2 on: January 31, 2014, 05:22:39 PM »

I remembered I heard of this problem back in the 90's and did some (lost) experiments. There is a neat way of extracting some kind of a fractal out of it. Simply plot the number n of iterations it takes you to get to 1, as a function of the starting number x. (Like draw a vertical bar of height n above the point at x on the horizontal axis.) For some reason the bars are not distributed randomly, but tend to be aligned in something vagely reminiscent of a fractal pattern.

See for instance this link for some pictures:
http://protempore.net/~calvins/misc/collatz/

[Edit:] I had missed the wikipedia link, which displays a somewhat similar picture...

Sam
« Last Edit: January 31, 2014, 05:27:54 PM by s31415 » Logged

Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
BulbBox - An Amazing Fractal extension Images Showcase (Rate My Fractal) « 1 2 3 » Jesse 34 10512 Last post March 08, 2010, 08:24:07 AM
by kram1032
collatz conjecture graph in processing General Discussion ker2x 6 3122 Last post October 08, 2010, 10:31:20 AM
by jehovajah
Fractal in "Collatz iteration" Other types Khaotik 0 6540 Last post October 30, 2011, 06:41:13 AM
by Khaotik
Collatz fractal Fragmentarium « 1 2 » claude 17 6419 Last post May 05, 2016, 11:11:07 AM
by Crist-JRoger
MBox Collatz Hybrid Mandelbulber Gallery mclarekin 0 927 Last post April 13, 2016, 12:02:33 PM
by mclarekin

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.149 seconds with 24 queries. (Pretty URLs adds 0.008s, 2q)