Jump to content

multiplos da lotomania


sorel

Recommended Posts

olá  preciso de ajuda para montar os multiplos

 de=

multiplos

2= 01 03 05 07 ...

3=01 04 07 10  13

4=01 05 10 15 20..

5=01 06 11 16  21 26

6=01 07 14  21 28 35

7=01 08 15,22....

8= 01 09...

9=?....

10=?...

 esta correto os multiplos?

 alguem tem a tabela completa por favor

Link to comment
Share on other sites

Olá Sorel

Antiga Linguagem Basic de Programação
 

for numero = 1 to 100
    print numero;"= ";

    for multiplos = 1 to 100 step numero
        print using("###", multiplos);" ";
    next multiplos

    print : print :

next numero


Resultado:

 

1=   1   2   3   4   5   6   7   8   9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28  29  30  31  32  33  34  35  36  37  38  39  40  41  42  43  44  45  46  47  48  49  50  51  52  53  54  55  56  57  58  59  60  61  62  63  64  65  66  67  68  69  70  71  72  73  74  75  76  77  78  79  80  81  82  83  84  85  86  87  88  89  90  91  92  93  94  95  96  97  98  99 100

 

2=   1   3   5   7   9  11  13  15  17  19  21  23  25  27  29  31  33  35  37  39  41  43  45  47  49  51  53  55  57  59  61  63  65  67  69  71  73  75  77  79  81  83  85  87  89  91  93  95  97  99

 

3=   1   4   7  10  13  16  19  22  25  28  31  34  37  40  43  46  49  52  55  58  61  64  67  70  73  76  79  82  85  88  91  94  97 100

 

4=   1   5   9  13  17  21  25  29  33  37  41  45  49  53  57  61  65  69  73  77  81  85  89  93  97

5=   1   6  11  16  21  26  31  36  41  46  51  56  61  66  71  76  81  86  91  96

6=   1   7  13  19  25  31  37  43  49  55  61  67  73  79  85  91  97

7=   1   8  15  22  29  36  43  50  57  64  71  78  85  92  99

8=   1   9  17  25  33  41  49  57  65  73  81  89  97

9=   1  10  19  28  37  46  55  64  73  82  91 100

10=   1  11  21  31  41  51  61  71  81  91

11=   1  12  23  34  45  56  67  78  89 100

12=   1  13  25  37  49  61  73  85  97

13=   1  14  27  40  53  66  79  92

14=   1  15  29  43  57  71  85  99

15=   1  16  31  46  61  76  91

16=   1  17  33  49  65  81  97

17=   1  18  35  52  69  86

18=   1  19  37  55  73  91

19=   1  20  39  58  77  96

20=   1  21  41  61  81

21=   1  22  43  64  85

22=   1  23  45  67  89

23=   1  24  47  70  93

24=   1  25  49  73  97

25=   1  26  51  76

26=   1  27  53  79

27=   1  28  55  82

28=   1  29  57  85

29=   1  30  59  88

30=   1  31  61  91

31=   1  32  63  94

32=   1  33  65  97

33=   1  34  67 100

34=   1  35  69

35=   1  36  71

36=   1  37  73

37=   1  38  75

38=   1  39  77

39=   1  40  79

40=   1  41  81

41=   1  42  83

42=   1  43  85

43=   1  44  87

44=   1  45  89

45=   1  46  91

46=   1  47  93

47=   1  48  95

48=   1  49  97

49=   1  50  99

50=   1  51

51=   1  52

52=   1  53

53=   1  54

54=   1  55

55=   1  56

56=   1  57

57=   1  58

58=   1  59

59=   1  60

60=   1  61

61=   1  62

62=   1  63

63=   1  64

64=   1  65

65=   1  66

66=   1  67

67=   1  68

68=   1  69

69=   1  70

70=   1  71

71=   1  72

72=   1  73

73=   1  74

74=   1  75

75=   1  76

76=   1  77

77=   1  78

78=   1  79

79=   1  80

80=   1  81

81=   1  82

82=   1  83

83=   1  84

84=   1  85

85=   1  86

86=   1  87

87=   1  88

88=   1  89

89=   1  90

90=   1  91

91=   1  92

92=   1  93

93=   1  94

94=   1  95

95=   1  96

96=   1  97

97=   1  98

98=   1  99

99=   1 100

100=   1   (?)
 




 

Edited by -W6-
Link to comment
Share on other sites

Agora uma observação minha, se for múltiplo do número a tabela seria assim:

 

for numero = 1 to 100
    print numero;"= ";
    for multiplos = numero to 100 step numero
        print using("###", multiplos);" ";
    next multiplos
    print : print
next numero




 

1=   1   2   3   4   5   6   7   8   9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28  29  30  31  32  33  34  35  36  37  38  39  40  41  42  43  44  45  46  47  48  49  50  51  52  53  54  55  56  57  58  59  60  61  62  63  64  65  66  67  68  69  70  71  72  73  74  75  76  77  78  79  80  81  82  83  84  85  86  87  88  89  90  91  92  93  94  95  96  97  98  99 100

 

2=   2   4   6   8  10  12  14  16  18  20  22  24  26  28  30  32  34  36  38  40  42  44  46  48  50  52  54  56  58  60  62  64  66  68  70  72  74  76  78  80  82  84  86  88  90  92  94  96  98 100

 

3=   3   6   9  12  15  18  21  24  27  30  33  36  39  42  45  48  51  54  57  60  63  66  69  72  75  78  81  84  87  90  93  96  99

 

4=   4   8  12  16  20  24  28  32  36  40  44  48  52  56  60  64  68  72  76  80  84  88  92  96 100

5=   5  10  15  20  25  30  35  40  45  50  55  60  65  70  75  80  85  90  95 100

6=   6  12  18  24  30  36  42  48  54  60  66  72  78  84  90  96

7=   7  14  21  28  35  42  49  56  63  70  77  84  91  98

8=   8  16  24  32  40  48  56  64  72  80  88  96

9=   9  18  27  36  45  54  63  72  81  90  99

10=  10  20  30  40  50  60  70  80  90 100

11=   11  22  33  44  55  66  77  88  99

12=   12  24  36  48  60  72  84  96

13=   13  26  39  52  65  78  91

14=   14  28  42  56  70  84  98

15=   15  30  45  60  75  90

16=   16  32  48  64  80  96

17=   17  34  51  68  85

18=   18  36  54  72  90

19=   19  38  57  76  95

20=   20  40  60  80 100

21=   21  42  63  84

22=   22  44  66  88

23=   23  46  69  92

24=   24  48  72  96

25=   25  50  75 100

26=   26  52  78

27=   27  54  81

28=   28  56  84

29=   29  58  87

30=   30  60  90

31=   31  62  93

32=   32  64  96

33=   33  66  99

34=   34  68

35=   35  70

36=   36  72

37=   37  74

38=   38  76

39=   39  78

40=   40  80

41=   41  82

42=   42  84

43=   43  86

44=   44  88

45=   45  90

46=   46  92

47=   47  94

48=   48  96

49=   49  98

50=   50 100

51=   51

52=   52

53=   53

54=   54

55=   55

56=   56

57=   57

58=   58

59=   59

60=   60

61=   61

62=   62

63=   63

64=   64

65=   65

66=   66

67=   67

68=   68

69=   69

70=   70

71=   71

72=   72

73=   73

74=   74

75=   75

76=   76

77=   77

78=   78

79=   79

80=   80

81=   81

82=   82

83=   83

84=   84

85=   85

86=   86

87=   87

88=   88

89=   89

90=   90

91=   91

92=   92

93=   93

94=   94

95=   95

96=   96

97=   97

98=   98

99=   99

100=  100
 



 

Edited by -W6-
Eliminados "zeros" extras
Link to comment
Share on other sites

01x 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
02x 02 04 06 08 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 00
03x 03 06 09 12 15 18 21 24 27 30 33 36 39 42 45 48 51 54 57 60 63 66 69 72 75 78 81 84 87 90 93 96 99
04x 04 08 12 16 20 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80 84 88 92 96 00
05x 05 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 00
06x 06 12 18 24 30 36 42 48 54 60 66 72 78 84 90 96
07x 07 14 21 28 35 42 49 56 63 70 77 84 91 98
08x 08 16 24 32 40 48 56 64 72 80 88 96
09x 09 18 27 36 45 54 63 72 81 90 99
10x 10 20 30 40 50 60 70 80 90 00
11x 11 22 33 44 55 66 77 88 99
12x 12 24 36 48 60 72 84 96
13x 13 26 39 52 65 78 91
14x 14 28 42 56 70 84 98
15x 15 30 45 60 75 90
16x 16 32 48 64 80 96
17x 17 34 51 68 85
18x 18 36 54 72 90
19x 19 38 57 76 95
20x 20 40 60 80 00
21x 21 42 63 84
22x 22 44 66 88
23x 23 46 69 92
24x 24 48 72 96
25x 25 50 75 00
26x 26 52 78
27x 27 54 81
28x 28 56 84
29x 29 58 87
30x 30 60 90
31x 31 62 93
32x 32 64 96
33x 33 66 99
34x 34 68
35x 35 70
36x 36 72
37x 37 74
38x 38 76
39x 39 78
40x 40 80
41x 41 82
42x 42 84
43x 43 86
44x 44 88
45x 45 90
46x 46 92
47x 47 94
48x 48 96
49x 49 98
50x 50 00

 

Link to comment
Share on other sites

W6.e eduardp obrigado pleo pronto atendimento

 eduard tem como cadastrar os sorteios  da lotomania

e depois colocar os multiplos  no lado

 objetivo= ver se alguma dos multipos principalmente de 1 a 10

 alguma linha fica vazia ou com uma dezena que o caso da 1660

a linha 6 so com uma ou seja 84 que era o espelho( restantes) tinha 19

eduardph eu clico no sorteio aparece na lista dos multiplos

para ver como se comporta na colunas e linhas

Link to comment
Share on other sites

01x 07 17 22 24 32 37 39 40 49 52 54 60 63 68 84 85 88 92 93 97
02x 22 24 32 40 52 54 60 68 84 88 92
03x 24 39 54 60 63 84 93
04x 24 32 40 52 60 68 84 88 92
05x 40 60 85
06x 24 54 60 84
07x 07 49 63 84
08x 24 32 40 88
09x 54 63
10x 40 60
11x 22 88
12x 24 60 84
13x 39 52
17x 17 68 85
20x 40 60
21x 63 84
22x 22 88
LOTOMANIA RESULTADO: 1658

 

Link to comment
Share on other sites

01x 09 12 18 21 34 35 38 42 43 48 50 54 59 71 79 87 88 90 92 96
02x 12 18 34 38 42 48 50 54 88 90 92 96
03x 09 12 18 21 42 48 54 87 90 96
04x 12 48 88 92 96
05x 35 50 90
06x 12 18 42 48 54 90 96
07x 21 35 42
08x 48 88 96
09x 09 18 54 90
10x 50 90
12x 12 48 96
16x 48 96
18x 18 54 90
21x 21 42
24x 48 96
48x 48 96
LOTOMANIA RESULTADO: 1659

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...