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

You are not logged in.

- Topics: Active | Unanswered

**gyanshrestha****Member**- Registered: 2007-11-06
- Posts: 41

what is the last digit of 3^555555?

http://gyan.talkacademy.com.np

Offline

**Ricky****Moderator**- Registered: 2005-12-04
- Posts: 3,791

Try the first few powers of 3, find the pattern, and prove it. Then take 55555 modulo the size of this pattern.

"In the real world, this would be a problem. But in mathematics, we can just define a place where this problem doesn't exist. So we'll go ahead and do that now..."

Offline

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

Hi gyanshrestha;

It is a 7.

**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

**anonimnystefy****Real Member**- From: Harlan's World
- Registered: 2011-05-23
- Posts: 16,037

And the first one is a 1.

Here lies the reader who will never open this book. He is forever dead.

Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment

The knowledge of some things as a function of age is a delta function.

Offline

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

Hoooo, that is a good one.

**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

How could you say that its 1?

'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

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

You could also!

**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

Hmm....

and without Mathmatica?

'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

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

Very much so.

1) You could use Alpha.

2) You could use a program whose abilities dwarf Mathematica when it comes to numbers...

**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

and with paper and pencil and my brain?

'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

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

Some problems are not for your brain. Would you calculate √ 2 to 1000 digits with pencil and paper even though theoretically you could.

**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

**anonimnystefy****Real Member**- From: Harlan's World
- Registered: 2011-05-23
- Posts: 16,037

I used bobbym's method from another thread.

Here lies the reader who will never open this book. He is forever dead.

Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment

The knowledge of some things as a function of age is a delta function.

Offline

I was wondering if there's a shortcut

'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

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

anonimnystefy wrote:

And the first one is a 1.

And the middle two digits of the even-length answer are {9,0}.

"3^555555" contains six fives; and so, using these figures a little differently, we get:

3(5+5+5+5+5+5) = 90...which verifies the correctness of the middle two digits of 3^555555.

"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

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

I was wondering if there's a shortcut

The front digit is a strange beast. Because of carries it sort of depends on all the others!

3(5+5+5+5+5+5) = 90...which verifies the correctness of the middle two digits of 3^555555.

Okay, what is 12345567890987654321! Just the first 50 digits will do!

**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

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

As far as I know (after having done just one test like this), my example is unique and doesn't extend to other sums.

"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

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

You mean of the type

3^(xxxxxx)?

**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

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

bobbym wrote:

You mean of the type

3^(xxxxxx)?

Nearly. It is y^(xxxxxx). x and y are single-digit integers >0, and y may = x.

So the test is this:

For a=y^(xxxxxx) and b=y(x+x+x+x+x+x), the middle digit for Length[a]=odd (or the middle two digits for Length[a]=even) = b.

So far, after not looking any further than my example in post #14, all I've found is just that one solution.

*Last edited by phrontister (2013-06-17 12:13:44)*

"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

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

How many have you looked at?

**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

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

No others.

It was only something completely frivolous where the numbers just happened to fall into place, but now I've set it up like this I might see if there are other solutions...if only to exercise my M.

Offline

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

Hi;

Okay, let me know if you find one more.

**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

**phanthanhtom****Member**- Registered: 2012-06-22
- Posts: 290

How did you calculate all this?

Offline

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

The last digit can be done by mods. The first digit is usually just raw computation except in specific cases. The middle digits are like the first digit.

**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

**anonimnystefy****Real Member**- From: Harlan's World
- Registered: 2011-05-23
- Posts: 16,037

phrontister wrote:

bobbym wrote:You mean of the type

3^(xxxxxx)?

Nearly. It is y^(xxxxxx). x and y are single-digit integers >0, and y may = x.

So the test is this:

For a=y^(xxxxxx) and b=y(x+x+x+x+x+x), the middle digit for Length[a]=odd (or the middle two digits for Length[a]=even) = b.So far, after not looking any further than my example in post #14, all I've found is just that one solution.

There are no such numbers besides x=5 and y=3.

Here lies the reader who will never open this book. He is forever dead.

Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment

The knowledge of some things as a function of age is a delta function.

Offline

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

Hi stefy,

I couldn't find any others either.

*Last edited by phrontister (2013-06-17 12:12:15)*

Offline