Thread: Pari/GP to PFGW
View Single Post
Old 2017-12-21, 02:39   #6
science_man_88's Avatar
"Forget I exist"
Jul 2009

26×131 Posts

Originally Posted by danaj View Post
Are there some good Pari/GP functions for lucasu(P,Q,n) and lucasv(P,Q,n) possibly with n = Mod(x,y)? Good in the sense of either (or both) (1) clean, (2) fast?
well a basic parity argument might be able to be used mod 2 for example. if both P and Q are the same parity that results in producing certain patterns in parity in the sequence. at least if I understand this request correctly.
science_man_88 is offline   Reply With Quote