in reply to Re: Calculate prime factors for a given number in a perl one-liner
in thread Calculate prime factors for a given numer in a perl one-liner

See this old node which may be the origin of the trick: prime factorization using base 1.

  • Comment on Re^2: Calculate prime factors for a given numer in a perl one-liner

Replies are listed 'Best First'.
Re^3: Calculate prime factors for a given numer in a perl one-liner (history)
by tye (Sage) on Dec 16, 2010 at 14:18 UTC

    No, that isn't where the technique originated. That node is just me putting it into a nice (and humorous) context. Abigail certainly demonstrated that technique before I posted that. Google says that it "first appeared" on Usenet.

    - tye