[ create a new paste ] login | about

Link: http://codepad.org/zdeQaPMc    [ raw code | output | fork ]

Perl, pasted on Apr 10:
1
do{ print "$_\n" if(/3/||$_%3==0||$_%5==0) } for(1..49);


Output:
3
5
6
9
10
12
13
15
18
20
21
23
24
25
27
30
31
32
33
34
35
36
37
38
39
40
42
43
45
48



Create a new paste based on this one


Comments: