Timeline for Displaying primes as a 3D array of spheres
Current License: CC BY-SA 3.0
23 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 13, 2018 at 3:51 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jan 14, 2018 at 3:20 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Dec 15, 2017 at 2:47 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Nov 15, 2017 at 1:49 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Oct 16, 2017 at 1:11 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Sep 16, 2017 at 0:35 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Aug 16, 2017 at 23:59 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jul 17, 2017 at 23:48 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jun 17, 2017 at 23:20 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
May 18, 2017 at 21:17 | answer | added | pdmclean | timeline score: 2 | |
Apr 16, 2014 at 17:26 | comment | added | Dr. belisarius | Yup. That's a cheap way to get 10^3 sequential integers. How the bijection goes is arbitrary, as ever. | |
Apr 16, 2014 at 16:56 | comment | added | mildused | So the purpose of 100i+10j+k+1 is to result all numbers from 1 to 1000 (later to be checked if prime). To do this, we use all the digits available in base 10, 0 to 9? | |
Apr 16, 2014 at 2:40 | history | edited | m_goldberg | CC BY-SA 3.0 |
edited title
|
Apr 16, 2014 at 2:24 | history | edited | m_goldberg | CC BY-SA 3.0 |
General clean-up
|
Apr 16, 2014 at 2:18 | history | tweeted | twitter.com/#!/StackMma/status/456255287414882304 | ||
Apr 16, 2014 at 2:12 | comment | added | Dr. belisarius |
Try Flatten@Table[100 i + 10 j + k + 1, {i, 0, 9}, {j, 0, 9}, {k, 0, 9}] and Flatten@Table[100 i + 10 j + k + 1, {i, 1, 10}, {j, 1, 10}, {k, 1, 10}]
|
|
Apr 16, 2014 at 2:08 | comment | added | mildused | Why did you range the i,j,k to only nine? Why should it not range to 10? Otherwise, it looks the same. Thanks so much. | |
Apr 16, 2014 at 1:58 | comment | added | Dr. belisarius |
Try Graphics3D[Table[If[PrimeQ[100 i + 10 j + k + 1], Sphere[{i, j, k}, 1/2]], {i, 0, 9}, {j, 0, 9}, {k, 0, 9}]]
|
|
Apr 16, 2014 at 1:45 | review | First posts | |||
Apr 16, 2014 at 2:25 | |||||
Apr 16, 2014 at 1:41 | comment | added | mildused | Thank you for your speedy response. The prime numbers from 1 to 1000 is rather easy, although I would've used Select from Table OR Case from Table. The problem I am having is exactly the one you mentioned. Numbering the cells. Once I figure how to assign each coordinate to a specific number, I ought to be able to use Graphics3D and define Spheres at those coordinates. Also, I think the radius of the spheres is 1/2. Can somebody please confirm that? | |
Apr 16, 2014 at 1:37 | comment | added | Dr. belisarius |
Prime /@ Range@PrimePi[1000] gives you the prime numbers ... now you should solve how to "number" the 3D cells from 1 to 1000 ...
|
|
Apr 16, 2014 at 1:35 | history | edited | mildused | CC BY-SA 3.0 |
added 159 characters in body
|
Apr 16, 2014 at 1:26 | history | asked | mildused | CC BY-SA 3.0 |