I would want to obtain a list of factors (multiples of 2) given a
prime number in python.
For example 13=[8,4,1], 5=[4,1], 7=[4,2,1], 15=[8,4,2,1]
I would appreciate a fuction which would do this.
Eric
Tweet |
|
Follow ups
group | python-list |
categories | python |
posted | Apr 21, '04 at 3:54p |
active | Apr 22, '04 at 5:14p |
posts | 16 |
users | 12 |
website | python.org |
site design / logo © 2022 Grokbase