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

You are not logged in.

## #1 2007-11-12 23:35:33

gyanshrestha
Member

Offline

### what is the last digit?

what is the last digit of 3^555555?

## #2 2007-11-12 23:39:11

Ricky
Moderator

Offline

### Re: what is the last digit?

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..."

## #3 2013-06-16 02:17:52

bobbym

Online

### Re: what is the last digit?

Hi gyanshrestha;

It is a 7.

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #4 2013-06-16 02:43:28

anonimnystefy
Real Member

Offline

### Re: what is the last digit?

And the first one is a 1.

The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

## #5 2013-06-16 02:47:31

bobbym

Online

### Re: what is the last digit?

Hoooo, that is a good one.

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #6 2013-06-16 03:19:27

Agnishom
Real Member

Offline

### Re: what is the last digit?

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'
'The whole person changes, why can't a habit?' -Alokananda

## #7 2013-06-16 03:20:25

bobbym

Online

### Re: what is the last digit?

You could also!

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #8 2013-06-16 03:34:15

Agnishom
Real Member

Offline

### Re: what is the last digit?

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'
'The whole person changes, why can't a habit?' -Alokananda

## #9 2013-06-16 03:43:00

bobbym

Online

### Re: what is the last digit?

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.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #10 2013-06-16 03:46:18

Agnishom
Real Member

Offline

### Re: what is the last digit?

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'
'The whole person changes, why can't a habit?' -Alokananda

## #11 2013-06-16 03:52:14

bobbym

Online

### Re: what is the last digit?

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.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #12 2013-06-16 08:20:32

anonimnystefy
Real Member

Offline

### Re: what is the last digit?

I used bobbym's method from another thread.

The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

## #13 2013-06-16 11:38:27

Agnishom
Real Member

Offline

### Re: what is the last digit?

I was wondering if there's a shortcut

'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'
'The whole person changes, why can't a habit?' -Alokananda

## #14 2013-06-16 13:19:55

phrontister
Real Member

Offline

### Re: what is the last digit?

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

## #15 2013-06-16 13:34:34

bobbym

Online

### Re: what is the last digit?

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.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #16 2013-06-16 13:39:58

phrontister
Real Member

Offline

### Re: what is the last digit?

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

## #17 2013-06-16 13:45:22

bobbym

Online

### Re: what is the last digit?

You mean of the type

3^(xxxxxx)?

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #18 2013-06-16 20:04:01

phrontister
Real Member

Offline

### Re: what is the last digit?

#### 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-18 10: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

## #19 2013-06-16 20:06:01

bobbym

Online

### Re: what is the last digit?

How many have you looked at?

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #20 2013-06-16 20:22:51

phrontister
Real Member

Offline

### Re: what is the last digit?

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.

"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

## #21 2013-06-16 20:39:23

bobbym

Online

### Re: what is the last digit?

Hi;

Okay, let me know if you find one more.

In mathematics, you don't understand things. You just get used to them.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #22 2013-06-16 21:49:22

phanthanhtom
Full Member

Offline

### Re: what is the last digit?

How did you calculate all this?

## #23 2013-06-16 21:55:36

bobbym

Online

### Re: what is the last digit?

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.
Some cause happiness wherever they go; others, whenever they go.
If you can not overcome with talent...overcome with effort.

## #24 2013-06-16 22:16:14

anonimnystefy
Real Member

Offline

### Re: what is the last digit?

#### 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.

The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

## #25 2013-06-17 00:33:31

phrontister
Real Member

Offline

### Re: what is the last digit?

Hi stefy,

I couldn't find any others either.

Last edited by phrontister (2013-06-18 10:12:15)

"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