Search found 387 matches

by elendiastarman
Mon Jun 18, 2012 7:41 pm
Forum: Recreational
Topic: Have you written a program to write a program?
Replies: 7
Views: 4820

Re: Have you written a program to write a program?

I've done this at least once. Python is great at number-crunching and the like, but not graphics whereas Blitz Basic/3D is essentially the opposite. So, one time, I wrote a Python program that generated a specified number of for-loops in Blitz Basic/3D code. :P
by elendiastarman
Sun Nov 13, 2011 2:44 am
Forum: Clarifications on Project Euler Problems
Topic: Problem 097
Replies: 15
Views: 4090

Re: Problem 97

JMW1994, one would think that having been on this forum for several months and posting 28 other times, you should know not to post any results or code, whole or fragmented. In addition, you should also know that this is a public forum. Hence, can you remove your results?
by elendiastarman
Sun Oct 09, 2011 7:20 pm
Forum: Programming languages
Topic: What is the best language for Project Euler?
Replies: 14
Views: 19944

Re: What is the best language for Project Euler?

mwm wrote:Which leads to the question - how do I get a language added to the list of possible languages?
What many people have done is make a new thread for that language and ask for it to be added. euler usually gets to it within 24 hours.
by elendiastarman
Thu Jun 16, 2011 1:22 am
Forum: Recreational
Topic: Incredible Magic Square
Replies: 0
Views: 2080

Incredible Magic Square

by elendiastarman
Sun Jun 05, 2011 10:07 pm
Forum: Clarifications on Project Euler Problems
Topic: Problem 025
Replies: 34
Views: 8889

Re: Problem 025

tinkles, have you checked that you're putting the index, not the number itself? Those first five results of yours are correct and there's no way 38,000+ people were wrong... :P
by elendiastarman
Wed May 18, 2011 5:55 pm
Forum: Clarifications on Project Euler Problems
Topic: Problem 059
Replies: 111
Views: 28214

Re: Problem 059

How interesting. I too am a Christian, and unlike you, my reaction to solving the problem was along the lines of "This is awesome!"...
by elendiastarman
Tue May 17, 2011 2:01 pm
Forum: Clarifications on Project Euler Problems
Topic: Problem 059
Replies: 111
Views: 28214

Re: Problem 059

Well said hk.
by elendiastarman
Tue May 17, 2011 3:05 am
Forum: Clarifications on Project Euler Problems
Topic: Problem 059
Replies: 111
Views: 28214

Re: Problem 059

Susanne wrote:I believe that Problem 59 (View Problem) violates one of the Ten Commandments.
Which one? I looked them up on Wikipedia to refresh my memory and none of them come close to being violated by Problem 59...
by elendiastarman
Sat May 07, 2011 8:30 pm
Forum: News, Suggestions, and FAQ
Topic: 2 Suggestions for Moderators
Replies: 8
Views: 2918

Re: 2 Suggestions for Moderators

1. I have no issue with the first sentence of 033 and I'll bet that most other people don't either. Can you clarify what makes it hard for you to understand? 2. This site is hosted in the UK, and as such it uses British English. Hence, the spelling of certain words will be different from the America...
by elendiastarman
Wed Apr 27, 2011 12:44 am
Forum: Discrete Mathematics
Topic: Number of Arrangements in a Grid
Replies: 5
Views: 6023

Re: Number of Arrangements in a Grid

Perhaps it would be easier still to just construct the boundary? Implementing such an enumeration tactic for that method would probably involve recursive functions... Wait a minute...this is (kinda, maybe) easier than I thought. There can only be one boundary, which can be visualized as walls betwee...
by elendiastarman
Wed Apr 27, 2011 12:01 am
Forum: Clarifications on Project Euler Problems
Topic: Problem 089
Replies: 67
Views: 21211

Re: Problem 089

I can look it over.
by elendiastarman
Sat Feb 26, 2011 9:51 pm
Forum: Clarifications on Project Euler Problems
Topic: Problem 010
Replies: 80
Views: 20216

Re: problem 010

Hey ! I have implemented the Sieve of Eratosthenes logarithm but the actual creation of the list takes ages for me since I kind of bruteforced the non brute force way lol. I am currently learning to program by myself and with books I have bought (python by the way) and so far the first few problems...
by elendiastarman
Mon Feb 21, 2011 9:42 pm
Forum: Number Theory
Topic: About composite numbers
Replies: 17
Views: 7139

Re: About composite numbers

Alhazen may not be curious about how TripleM worked out his answer, but I certainly am...
by elendiastarman
Sat Jan 15, 2011 11:58 pm
Forum: Combinatorics
Topic: New Problem
Replies: 2
Views: 1801

Re: New Problem

A number ABC...XYZ with n digits (0< n <=9) has n ! permutations (if each digit is distinct). For each place, there is a choice among n digits to fill it. Thus, out of n ! permutations, each place is filled by a specific digit n !/ n (or ( n -1)! ) times. Consider the sum of the rightmost digit of e...
by elendiastarman
Fri Jan 14, 2011 2:28 am
Forum: Recreational
Topic: Red X
Replies: 11
Views: 4628

Re: Red X

[chuckles] For me...it's always "Blast! Didn't get the green check!" :P
by elendiastarman
Tue Jan 04, 2011 1:16 am
Forum: Programming languages
Topic: Advanced Preferences in Mathematica
Replies: 8
Views: 3232

Re: Advanced Preferences in Mathematica

Oh nuts! How else do I determine who I can fairly discuss a problem solution with? Honor system? Yeah, pretty much. However, you can also look at the top posters on this forum. The ones with the highest post counts tend to have solved most, if not all of them. Also, those on the problem development...
by elendiastarman
Sun Jan 02, 2011 12:14 am
Forum: Clarifications on Project Euler Problems
Topic: Problem 165
Replies: 41
Views: 14048

Re: Problem 165

MrNightLifeLover wrote:My algorithm checks for parallel segements, if two segements are parallel then they do not intersect..
Which is true...unless they're the same line (at least in part). In such cases, there are an infinity of intersection points...

That help?
by elendiastarman
Wed Dec 29, 2010 4:02 am
Forum: Recreational
Topic: Zeno's Paradoxes and Discrete Space/Time
Replies: 32
Views: 10780

Re: Zeno's Paradoxes and Discrete Space/Time

I'd have to imagine that as t approaches 2, you will be flipping the switch with such a high frequency that the light will appear to be on. However, since this frequency will approach infinity, it could also mean you are changing the lamp's state faster than electrons can move through the switch, w...
by elendiastarman
Sun Dec 26, 2010 9:10 pm
Forum: Programming languages
Topic: SCRIPT TO CHECK IF A NUMBER IS PRIME
Replies: 14
Views: 5160

Re: SCRIPT TO CHECK IF A NUMBER IS PRIME

Personally, I've always found it more efficient and easier to increment i and exit the (while) loop when i*i > n... Correct me if I'm wrong, but I don't think that is faster. If you write "i <= sqrt(n)", then your complier will probably change the code so, that sqrt(n) is only calculated once, as n...
by elendiastarman
Mon Dec 20, 2010 10:10 pm
Forum: Programming languages
Topic: SCRIPT TO CHECK IF A NUMBER IS PRIME
Replies: 14
Views: 5160

Re: SCRIPT TO CHECK IF A NUMBER IS PRIME

Personally, I've always found it more efficient and easier to increment i and exit the (while) loop when i*i > n...