![]() |
![]() |
#23 | ||
"Forget I exist"
Jul 2009
Dartmouth NS
20E216 Posts |
![]() Quote:
6=3+3 ->10=5+5; 10=3+7->16=5+11 did have a rough 21 digit example, but may have to find it again. Quote:
Last fiddled with by science_man_88 on 2018-02-25 at 01:13 |
||
![]() |
![]() |
#24 |
"Forget I exist"
Jul 2009
Dartmouth NS
2×3×23×61 Posts |
![]() Code:
my(a=0,b=[]);for(x=1,n,if((a-x)>0&&setminus(b,[a-x])==[],b=concat(b,[a-x]);a-=x;print(a),if(setminus(b,[a+x])==[],b=concat(b,[a+x]);a+=x;print(a),print("fails at x="x);break()))) Last fiddled with by science_man_88 on 2018-06-14 at 15:44 |
![]() |
![]() |
#25 |
"Forget I exist"
Jul 2009
Dartmouth NS
2×3×23×61 Posts |
![]() Code:
my(s=self());return(select(r->r=="e",Vec(Str(s)))) |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Post 200000 | Raman | Lounge | 19 | 2016-10-07 06:17 |
Where to post job ad? | xilman | Linux | 2 | 2010-12-15 16:39 |
Post numbers - what now? | henryzz | Forum Feedback | 26 | 2008-12-24 14:21 |
Can't post to other forums | Unregistered | Forum Feedback | 27 | 2007-04-04 04:56 |
Something that I just had to post/buy | dave_0273 | Lounge | 1 | 2005-02-27 18:36 |