### Random Post

### Recent Posts

- Enigma 1065: Cute cubes
- Enigma 444: Rows and rows
- Puzzle 50: Football and addition
- Enigma 1066: Members of the clubs
- Enigma 443: The bells they are a-changing
- Tantalizer 455: Ballistico
- Tantalizer 456: Square deal
- Enigma 1067: Bye!
- Enigma 442b: Oh yes I did! Oh no you didn’t!
- Puzzle 51: A multiplication

### Recent Comments

Brian Gladman on Enigma 1065: Cute cubes | |

Jim Randell on Enigma 1065: Cute cubes | |

geoffrounce on Enigma 444: Rows and rows | |

Jim Randell on Enigma 444: Rows and rows | |

geoffrounce on Enigma 1611: Three sister… |

### Archives

### Categories

- article (11)
- enigma (1,167)
- misc (2)
- project euler (2)
- puzzle (42)
- site news (45)
- tantalizer (45)
- teaser (3)

### Site Stats

- 180,599 hits

Advertisements

Python has bignum support, so it’s not a problem to deal with full powers involved. The program runs in 29ms.

Solution:You are 57.My pocket calculator can cope with (the first eight digits of) 56^57 and 57^56 but throws in the sponge at 57^57. That’s a good indication, I think, that 57 is the lowest integer which when raised to its own power is greater than 1E100. It turns out to be a very good starting point.

57^4 mod 100 = 1. 56 being a multiple of 4, 57^56 mod 100 also equals 1.

Multiply by an extra 57 and you get a number ending in 57.

All odd powers of 75 end in 75. So 57 was a lucky guess.

Hi Hugh,

If you install Python 3, you can use the interactive shell as calculator, without writing any code:

>>> 57 ** 57

12158129736671364080886280192352136280305445908985401876990335800107686586023081377754367704855688057

>>> 75 ** 75

426181657761258833198605424151960757395791315610122269092300199179088043392834051588896184557263865748388820264835885609500110149383544921875

>>> 75 ** 57

75594815832868199776770376005214530088120923458388982924968264582969712517268590090679936110973358154296875

Here is another Python 3 solution: