mersenneforum.org  

Go Back   mersenneforum.org > Fun Stuff > Puzzles

Reply
 
Thread Tools
Old 2012-03-25, 21:02   #111
voidme
 
Feb 2012

1038 Posts
Default

dude just use a six-deep for loop and generate your dice that way, in order. It's extremely fast even for N=30
voidme is offline   Reply With Quote
Old 2012-03-25, 21:03   #112
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26×131 Posts
Default

Quote:
Originally Posted by voidme View Post
dude just use a six-deep for loop and generate your dice that way, in order. It's extremely fast even for N=30
I was talking of 377. I did that for 376 and with all my edits I only cut it from a 112 digit number of years down to a 32 digit number.

Last fiddled with by science_man_88 on 2012-03-25 at 21:04
science_man_88 is offline   Reply With Quote
Old 2012-03-25, 21:25   #113
voidme
 
Feb 2012

6710 Posts
Default

like most problems 377 likely will not require you to actually figure out all the partitions but rather partial sums

there are patterns in the partial sums but they're messy imo

Last fiddled with by voidme on 2012-03-25 at 21:25
voidme is offline   Reply With Quote
Old 2012-03-25, 21:29   #114
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

20C016 Posts
Default

Quote:
Originally Posted by voidme View Post
like most problems 377 likely will not require you to actually figure out all the partitions but rather partial sums

there are patterns in the partial sums but they're messy imo
I think the reason it runs out of memory is I take 13 with the i being an exponent.
science_man_88 is offline   Reply With Quote
Old 2012-03-25, 22:10   #115
ldesnogu
 
ldesnogu's Avatar
 
Jan 2008
France

2×52×11 Posts
Default

Quote:
Originally Posted by voidme View Post
377 is hilarious

there is an OEIS sequence but it's incorrect
The OEIS sequence is correct up to 9. It diverges starting at 10. In fact it's the comment in the OEIS page that is misleading.
ldesnogu is offline   Reply With Quote
Old 2012-03-25, 22:30   #116
voidme
 
Feb 2012

10000112 Posts
Default

Quote:
Originally Posted by ldesnogu View Post
The OEIS sequence is correct up to 9. It diverges starting at 10. In fact it's the comment in the OEIS page that is misleading.
right, this is correct; it is still nevertheless apparent that the OEIS sequence is pretty much useless for the purposes of 377

Last fiddled with by voidme on 2012-03-25 at 22:30
voidme is offline   Reply With Quote
Old 2012-03-26, 01:35   #117
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

3·1,993 Posts
Default

Quote:
Originally Posted by ldesnogu View Post
The OEIS sequence is correct up to 9. It diverges starting at 10. In fact it's the comment in the OEIS page that is misleading.
Does the comment need to be corrected?
CRGreathouse is offline   Reply With Quote
Old 2012-03-26, 02:01   #118
voidme
 
Feb 2012

67 Posts
Default

Quote:
Originally Posted by CRGreathouse View Post
Does the comment need to be corrected?
the comment is wrong because the sequence does not describe what the comment says in the strictest sense
voidme is offline   Reply With Quote
Old 2012-03-26, 12:33   #119
ldesnogu
 
ldesnogu's Avatar
 
Jan 2008
France

10001001102 Posts
Default

I wonder if 377 can be solved with a closed formula. I was able to get one for 1\leq n \leq 19, but not yet for larger values. More thoughts needed
ldesnogu is offline   Reply With Quote
Old 2012-03-26, 12:39   #120
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26×131 Posts
Default

Quote:
Originally Posted by ldesnogu View Post
I wonder if 377 can be solved with a closed formula. I was able to get one for 1\leq n \leq 19, but not yet for larger values. More thoughts needed
basically what I found is 212+221+122 = 555 and all these are in the list to add up to 5 so the answer for 5 can be drawn from: 5,41,23,113,122,1112, and 11111

under 11111 there are 1,2,2,1, amount of unique arrangements each with 1,2,2,3,3,4, possibilities of rearrangement 1*5+2*55+2*555+1*5555+11111 = 17891
science_man_88 is offline   Reply With Quote
Old 2012-03-26, 13:06   #121
voidme
 
Feb 2012

67 Posts
Default

I am pretty close to one but rearranging is a challenge; almost positive it is possible

EDIT: lol just derived the OEIS equation purely by accident as an approximation to my data. The multiplicative difference between each result is about 11 (minus some change as you go on).

Last fiddled with by voidme on 2012-03-26 at 14:06
voidme is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Project Euler jhs Puzzles 32 2021-01-19 04:05
Project Euler 486 lavalamp Puzzles 8 2015-02-04 14:28
Euler (6,2,5) details. Death Math 10 2011-08-03 13:49
Project Euler Mini-Geek Lounge 2 2009-10-23 17:19
Bernoulli and Euler numbers (Sam Wagstaff project) fivemack Factoring 4 2008-02-24 00:39

All times are UTC. The time now is 05:21.


Fri Aug 6 05:21:13 UTC 2021 up 13 days, 23:50, 1 user, load averages: 2.51, 2.36, 2.36

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.