Problem 041

A place to air possible concerns or difficulties in understanding ProjectEuler problems. This forum is not meant to publish solutions. This forum is NOT meant to discuss solution methods or giving hints how a problem can be solved.
Forum rules
As your posts will be visible to the general public you are requested to be thoughtful in not posting anything that might explicitly give away how to solve a particular problem.

This forum is NOT meant to discuss solution methods for a problem.

In particular don't post any code fragments or results.

Don't start begging others to give partial answers to problems

Don't ask for hints how to solve a problem

Don't start a new topic for a problem if there already exists one


See also the topics:
Don't post any spoilers
Comments, questions and clarifications about PE problems.
User avatar
Animus
Administrator
Posts: 1987
Joined: Sat Aug 16, 2014 1:23 pm

Re: problem 41

Post by Animus »

Your number 98765431 is not pandigital according to the definition in the problem statement; having a length of 8 digits it should contain all digits from 1 to 8 exactly once. :wink:
ethereal1m
Posts: 3
Joined: Mon Aug 07, 2017 2:21 pm

Re: problem 41

Post by ethereal1m »

ahh ok thanks
Image
h_anand
Posts: 14
Joined: Wed May 27, 2015 1:45 am

Re: problem 41

Post by h_anand »

What is the criterion for a number to be divisible by 3?
LilStalker
Posts: 74
Joined: Thu Nov 03, 2016 4:32 pm

Re: problem 41

Post by LilStalker »

I could just tell you, but that 'rule' is really not hard to google. Give it a try :)
Image
h_anand
Posts: 14
Joined: Wed May 27, 2015 1:45 am

Re: problem 41

Post by h_anand »

LilStalker wrote: Wed Aug 16, 2017 11:57 am I could just tell you, but that 'rule' is really not hard to google. Give it a try :)
Just in case that was in response to my post, I was merely giving @ethereal1m a hint (he was trying 9 digit pandigital primes).
User avatar
sjhillier
Administrator
Posts: 561
Joined: Sun Aug 17, 2014 4:59 pm
Location: Birmingham, UK
Contact:

Re: problem 41

Post by sjhillier »

ethereal1m wrote: Tue Aug 08, 2017 5:33 pm I got

Code: Select all

98765431
from my calculation but it's wrong.
This answer is wrong as an 8 digit pandigital number must consist of the digits 1-8.
Post Reply