PROG
(MAGMAMagma) [Modexp(2, n, 19): n in [0..100]]; // G. C. Greubel, Oct 17 2018
(MAGMAMagma) [Modexp(2, n, 19): n in [0..100]]; // G. C. Greubel, Oct 17 2018
(Sage) [power_mod(2, n, 19) for n in xrangerange(0, 66)] # Zerinvary Lajos, Nov 03 2009
proposed
approved
editing
proposed
(GAP) List([0..60], n->PowerMod(2, n, 19)); # Muniru A Asiru, Oct 17 2018
proposed
editing
editing
proposed
(Python) for n in range(0, 100): print(int(pow(2**, n %, 19), ), end=' ') # Stefano Spezia, Oct 17 2018
proposed
editing
editing
proposed
(Python) for n in range(0, 100): print(int(2**n %19), end=' ') # Stefano Spezia, Oct 17 2018
proposed
editing
editing
proposed