学年

質問の種類

数学 高校生

(2)の最後の問題で、答えが何故10になるのかが分かりません(´・ω・`)

47 難易度 目標解答時間 15分 SELECT 9060 花子さんの住んでいる町内で毎年行われているクリスマス会では,参加者全員にスナック菓子 一袋ずつ配ることになっている。 今年は、花子さんがスナック菓子を買うことになり、1年前のク マス会を知っている人に話を聞いた。 1年前は、参加者は30人で, スナック菓子は, 3袋入りの箱と7袋入りの箱の2種類で売られて 3袋入りをa箱,7袋入りを6箱買うと,30人全員に1袋ずつ残さず配ることができたという。た a,b はともに0以上の整数とする。 このことから 3a+7b= アイ ...1 オ), カ が成り立ち, ①を満たすa, bの組(a, b) は, (a,b)=(ウエ 組だけ存在する。 (1) 花子さんは,参加者が何人であれば, 3袋入りと7袋入りの箱をうまく組み合わせて買うこと スナック菓子を参加者全員に1袋ずつ残さず配ることができるかに興味をもった。 参加者全員 袋ずつ残さず配ることができない場合について考えよう。 3袋入りをx, 7袋入りを箱買うとする。 ただし, x,yはともに0以上の整数とする。 (i)yが3の倍数のとき, y = 31 (10以上の整数)と表すと 3x+7y=ク (x+ケ 1) であり, 3x+7y と表される数は コ 以上の3の倍数すべてである。 (ii)yを3で割った余りが1のとき、y=3l+1 (Zは0以上の整数)と表すと (ただし, t + (x+ 1+ ス + サ 3x+7y= であり, 3x+7yと表される数は3で割った余りがソである整数のうち, すべてである。 233119 (yを3で割った余りが2のとき, (i), (ii) と同様に考えると, 3x+7y と表される数は3で た余りがチである整数のうち,ツテ 以上のものすべてである。 (i) ~ (i)より, 3x+7y (x, y はともに0以上の整数) と表されない自然数は全部でト個ある すなわち, 3袋入りと7袋入りの箱をどのような組み合わせで買ったとしても、参加者全員 袋ずつ残さず配ることができない参加人数は全部でト |通りある。 (2) 今年は別のスナック菓子を買うことにした。 そのスナック菓子は2袋入りの箱5袋入りの セ タ 以上の 2種類が売られており, 中身のパッケージのデザインも異なっていたため、クリスマス会を げるため, 2袋入り 5袋入りのどちらも1箱以上買うことになった。 このとき2袋入りと5袋入りの箱をどのような組み合わせで買ったとしても、スナック菓 参加者全員に1袋ずつ残さず配ることができない最大の参加人数はナニ人である。 (配点 公式解法 7 する L と 0 [C] G

回答募集中 回答数: 0
情報:IT 高校生

1〜4のどの数字を入れても「1〜4から選んでね」となってしまうのですがどうしたら良いですか?

L マイドライブ Google ドライブ !!! Q {x} <> 因 X co if文.ipynb-Colaboratory colab.research.google.com/drive/1-CVySK6w2m4etCEzA_q32dDaKVELdqD1#scrollTo=JA3uY4XW9gYT if文.ipynb ファイル 編集 表示 挿入 ランタイム ツール ヘルプ すべての変更を保存しました + コード + テキスト 5は121の約数ではありませんが55の約数です。 1 print('心理テスト') 2 print('あなたの隠れた本性が分かる \n') 3 4 print('Q 「秋」 と言えば、 何?') 5 print('1 スポーツ') 6 print('2 読書 ') 7 print('3 食欲') X + 8 print('4 芸術') 9 ans=input('1~4から選ぶ') 10 print('*********** 11 12 if ans==1: 13 print('「スポーツ」 を選んだあなたは、 好奇心旺盛な人気者') 14 elif ans==2: 15 print('「読書」 を選んだあなたは、 クールな博愛主義者') 16 elif ans==3: 心理テスト あなたの隠れた本性が分かる 17 print(' 「食欲」 を選んだあなたは、正直者でマイペース') 18 elif ans==4: 19 print('「芸術」を選んだあなたは、感受性が強いアーティスト') 20 else: 21 print('1~4から選んでね') Q 「秋」 と言えば、 何? 1スポーツ 2 読書 3 食欲 4 芸術 1~4から選ぶ ************') 実行 (2秒) Cell raw_input()> _input_request() > select( コメント RAM *** ディスク ↑ Q 共有 → 日 編集 ● ■ ⠀ ・・・ ⠀ ×

解決済み 回答数: 1
英語 高校生

全文訳お願いします!

4 20 科学 420 words Chapter 1 The recipe for making any creature is written in its DNA. So last year, when 1-1 geneticists* published the near-complete DNA sequence of the long-extinct woolly mammoth, there was much speculation about whether we could bring this giant creature back to life. 5 東京理科大学 Creating a living, breathing creature from a genome* sequence that exists only in a computer's memory is not possible right now. But someone someday is sure to try it, predicts Stephan Schuster, a molecular biologist at Pennsylvania State University and a driving force behind the mammoth genome project. So besides the mammoth, what other extinct beasts might we bring back to life? Well, 12 10 it is only going to be possible with creatures for which we can recover a complete genome Without one, there is no chance. And usually when a creature dies, the (1) - DNA in any flesh left untouched is soon destroyed as it is attacked by sunshine and bacteria. sequence. There are, however, some circumstances in which DNA can be preserved. If your 15 specimen froze to death in an icy wasteland such as Siberia, or died in a dark cave or a really dry region, for instance, then the probability of finding some intact stretches of DNA is much higher. Even in ideal conditions, though, no genetic information is likely to survive more than a million years. - so dinosaurs are out and only much younger remains are likely to yield good-quality DNA. "It's really only worth studying specimens that are less than 100,000 years old," says Schuster. The genomes of several extinct species besides the mammoth are already being sequenced, but turning these into living creatures will not be easy. "It's hard to say that something will never ever be possible," says Svante Pääbo of the Max Planck Institute 25 for Evolutionary Anthropology in Germany, "but it would require technologies so far removed from what we currently have that I cannot imagine how it would be done." But then (3) 50 years ago, who would have believed we would now be able to read the instructions for making humans, fix inherited diseases, clone mammals and be close to creating artificial life? Assuming that we will develop the necessary technology, we have 30 selected ten extinct creatures that might one day be resurrected. Our choice is based not just on practicality, but also on each animal's "charisma" - just how exciting the prospect of resurrecting these animals is. 1-3

回答募集中 回答数: 0