DTAshley@aol.com writes: > > mpz_assign_repeating_limb_pattern(mpz_t victim, unsigned long > *repeating_pattern_array, unsigned pattern_array_length, unsigned nbits) Probably better to take the pattern from another mpz than a ulong array. Maybe some sort of bit-block copy from one mpz to another, perhaps with a repetition count, would find a use.