Primey Factory

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

Inspired by all those prime factor challenges recently:

Given n = p_1^n_1 * p_2^n_2 * ... find p_i such that n_i is maximum of all p_i. In other terms: Find the prime factor that occurs the most times in the prime factorization.

Options

exec is denied

now post-mortem time, all source codes will be revealed

Sample input:_

*NOTHING*

Sample output:

1
2
3
2
5
3
7
2
3
5
11
2
13
7
5
2
17
3
19
2
7
11
23
2
5
13
3
2
29
5
31
2
11
17
7
3
37
19
13
2
41
7
43
2
3
23
47
2
7
5
17
2
53
3
11
2
19
29
59
2
61
31
3
2
13
11
67
2
23
7
71
2
73
37
5
2
11
13
79
2
3
41
83
2
17
43
29
2
89
3
13
2
31
47
19
2
97
7
3
5

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1Histocrat730.54762014/08/29 01:38:470B / 32B / 40B

Perl _

RankUserSizeTimeDateStatistics
1teebee700.33612014/09/10 08:25:400B / 24B / 46B
2brx720.03552014/09/11 08:28:160B / 27B / 45B
3teebee(brx)690.04372014/09/11 16:04:210B / 26B / 43B

Python _

RankUserSizeTimeDateStatistics
1hallvabo932.04932014/09/03 22:52:030B / 48B / 40B

J _

RankUserSizeTimeDateStatistics
1pooq320.02122014/09/03 13:01:090B / 10B / 21B
2medialuna420.01762014/08/29 14:48:290B / 16B / 23B

C _

RankUserSizeTimeDateStatistics
1pandamonium1020.00012014/09/10 23:00:160B / 49B / 53B
2chocobi1110.01072014/09/10 23:41:240B / 54B / 57B

Haskell _

RankUserSizeTimeDateStatistics
1henkma791.76722014/09/01 22:22:550B / 45B / 32B

Maxima _

RankUserSizeTimeDateStatistics
1pooq730.41992014/09/04 01:17:530B / 49B / 24B
2teebee(pooq)720.40392014/09/12 08:02:270B / 49B / 23B

Octave _

RankUserSizeTimeDateStatistics
1teebee430.33852014/09/06 20:01:080B / 30B / 12B
2pooq590.27782014/09/05 18:21:120B / 37B / 21B

AWK _

RankUserSizeTimeDateStatistics
1teebee720.09152014/09/11 04:59:050B / 34B / 37B
2llhuii800.07562014/09/02 23:00:450B / ?B / ?B
3llhuii(teebee)670.07512014/09/12 22:52:400B / 33B / 33B

xgawk _

RankUserSizeTimeDateStatistics
1teebee690.13422014/09/11 04:59:590B / 34B / 34B
2llhuii780.11412014/09/10 22:42:240B / 38B / 39B
3llhuii(teebee)640.15122014/09/12 23:03:370B / 33B / 30B

Burlesque _

RankUserSizeTimeDateStatistics
1mroman150.01452014/08/28 16:37:240B / ?B / ?B
2teebee150.01422014/08/29 04:59:230B / 10B / 5B
3Hendrik150.01312014/08/29 10:12:420B / 10B / 5B
4nooodl160.01202014/08/29 11:20:080B / ?B / ?B

Language Ranking_

RankLangUserSizeScore
1Burlesquemroman1510000
2Jpooq324687
3Octaveteebee433488
4xgawkllhuii(teebee)642343
5AWKllhuii(teebee)672238
6Perlteebee(brx)692173
7Maximateebee(pooq)722083
8RubyHistocrat732054
9Haskellhenkma791898
10Pythonhallvabo931612
11Cpandamonium1021470

return top