A Hard Task?

Правка en1, от VIIIIIIVX, 2016-10-11 15:55:22

Hi everyone! Some days ago, I confronted to a hard problem and I could not solve it. Can you help me? The problem was: Given a and n(1 <= a, n <= 1000), b = (a ^ a) ^ (a ^ a), and return b mod n.

Теги number theory

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский VIIIIIIVX 2016-10-11 15:59:58 21 Tiny change: 'lem was:\n\nGiven a ' -
en1 Английский VIIIIIIVX 2016-10-11 15:55:22 215 Initial revision (published)