Official Rookie Mistake Discussion

Nice challenge @willwam845!

@ngoctnq This is indeed weird in my opinion. It does work for ord = 6, or without specifying an order in my case

sage: discrete_log(Mod(23, 7 * 13), Mod(4, 7 * 13), ord=6)
5
sage: discrete_log(Mod(23, 7 * 13), Mod(4, 7 * 13))
5

But as the doc states: ord - integer (multiple of order of base, or None), any multiple should work… but it doesn’t…