mersenneforum.org Prime cubes!
 Register FAQ Search Today's Posts Mark Forums Read

2007-05-04, 12:46   #1
fivemack
(loop (#_fork))

Feb 2006
Cambridge, England

13×491 Posts
Prime cubes!

123401 + 90*x + 31590*y + 42126*z is prime for x,y,z = 0..2

58031 + 180*x + 11286*y + 52290*z has the same property and a smaller back-bottom-right value; 22123 + 330*x + 26550*y + 26880*z also has the same property, but is spoiled because there are some duplicates in the cube.

17033 + 1254x + 6630y + 47250z has BBR 127301 and no duplicates.

Code is below, it's pretty obvious ... same as the squares search to get planes, file by [dx,dy], then look for planes with the same dx and dy and with starts in arithmetic progression.

I'd be quite impressed if someone presented a 4^3 prime cube or a 3^4 prime hypercube, though I imagine a 2^4 or even 2^5 prime hypercube wouldn't be impossible.
Attached Files
 fettle3.txt (2.0 KB, 215 views)

2007-05-04, 14:00   #2
fivemack
(loop (#_fork))

Feb 2006
Cambridge, England

18EF16 Posts

And, indeed, by a different route, here's a 2x2x2x2 hypercube

11 17 41 47
31 37 61 67

53 59 83 89
73 79 103 109

The attached code finds 8710 hypercubes with entries all different and <1024.

Extending it in the obvious way finds 329 dimension-5 objects with entries all different and <4096, of which the smallest largest entry is 1217, from

43 + 66x + 120y + 270z + 340w + 378t are all distinct and prime for [x,y,z,w,t] in [0,1]^5

likewise 7 + 10x + 66y + 234z + 570w + 846t
Attached Files
 fettle4.txt (1.4 KB, 180 views)

 2007-05-04, 14:10 #3 grandpascorpion     Jan 2005 Transdniestr 503 Posts Cool beans, fivemack
 2007-05-05, 01:37 #4 jasong     "Jason Goatcher" Mar 2005 1101101100112 Posts I've JUST NOW figured out what the heck is going on in this thread. Apparently the fact that I scored a 140 IQ on a math test in the 9th grade doesn't amount to a hill of beans in reality. Oh, well, since I've always credited my good qualities to my parents and Jesus, I'm not going to fret over it. :)
 2007-07-04, 00:18 #5 grandpascorpion     Jan 2005 Transdniestr 503 Posts This thread is the inspiration for pp407 this week at www.primepuzzles.net Last fiddled with by grandpascorpion on 2007-07-04 at 00:21

 Similar Threads Thread Thread Starter Forum Replies Last Post dabaichi News 571 2020-10-26 11:02 jux Miscellaneous Math 15 2015-08-30 06:21 emily PrimeNet 3 2013-03-01 05:49 mfgoode Puzzles 24 2007-08-06 16:20 Numbers Puzzles 6 2005-09-03 00:26

All times are UTC. The time now is 18:26.

Fri Apr 16 18:26:33 UTC 2021 up 8 days, 13:07, 0 users, load averages: 1.83, 2.31, 2.50