Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2011-12-13 20:38:07

juan
Banned

7 digit no.

find the largest and the smallest 7 digit number formed by the digits from 1 to 9 such that there is no

repetition of digits and the number is divisible by all the digits.

#2 2011-12-13 21:00:00

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: 7 digit no.

Hi juan;

number is divisible by all the digits

1-9 or just the digits in the number?


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#3 2011-12-14 01:45:12

phrontister
Real Member
From: The Land of Tomorrow
Registered: 2009-07-12
Posts: 4,861

Re: 7 digit no.

Hi Bobby,

I got the same answer as you, with LibertyBasic.

I assumed the divisors are the number's digits.

Last edited by phrontister (2011-12-14 23:00:40)


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson

Offline

#4 2011-12-14 04:02:53

Agnishom
Real Member
From: Riemann Sphere
Registered: 2011-01-29
Posts: 24,996
Website

Re: 7 digit no.

on which other forum?

how to derive this?


'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
I'm not crazy, my mother had me tested.

Offline

#5 2011-12-14 04:05:31

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: 7 digit no.

Hi Agnishom;

On the AOPS. It would depend on which question he says yes to in my answer.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#6 2011-12-18 04:22:21

phrontister
Real Member
From: The Land of Tomorrow
Registered: 2009-07-12
Posts: 4,861

Re: 7 digit no.

I wanted to see if I could run this as an Excel v4.0 Macro Function.

Got it going...and here it is.


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson

Offline

#7 2011-12-18 04:28:25

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: 7 digit no.

Hi phrontister;

Nice neat work!


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#8 2011-12-18 04:39:57

phrontister
Real Member
From: The Land of Tomorrow
Registered: 2009-07-12
Posts: 4,861

Re: 7 digit no.

Thanks!

This way I'll know what on earth I did if I ever want to use it as a template for something else.


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson

Offline

#9 2011-12-18 09:33:17

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: 7 digit no.

Hi;

I never knew when my grammar school teachers were telling me to be neat that they were actually right. I thought they were just meanies.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

Board footer

Powered by FluxBB