[ home / bans / all ] [ qa / jp ] [ spg ] [ f / ec ] [ b / poll ] [ tv / bann ] [ toggle-new / tab ]

/qa/ - Questions and Answers

Questions and Answers about QA

New Reply

Options
Comment
File
Whitelist Token
Spoiler
Password (For file deletion.)
Markup tags exist for bold, itallics, header, spoiler etc. as listed in " [options] > View Formatting "


[Return] [Bottom] [Catalog]

File:e2d9f9067b043970ef62657f2b….png (360.63 KB,800x900)

 No.123456

The most fundamental and useful math skill know, we do it every day (Hopefully)! /qa/ does know how to count, right? What about efficiently? Is there any base that /qa/ is particularly fond of counting in?

How about for a celebration of this wonderful tool we use every day we do a fun little counting problem to find all positive integers N that satisfy the following conditions!

(i) N is divisible by 2020.
(ii) N has at most 2020 decimal digits.
(iii) The decimal digits of N are a string of consecutive ones followed by a string of consecutive zeros.

 No.123462

File:[Serenae] Wonderful Precur….jpg (320.34 KB,1920x1080)

I understand the (i). I did it! I'm smart!

 No.123463

I feel happy when I decompose stuff like 20*15 into 2*10*3*5.

 No.123468

Finding some of them doesn't sound too hard (2020*5 being the first one in base10), but
>(ii) N has at most 2020 decimal digits.
This is a serious downer on my motivation.

>>123463
But you don't like 2²*3*5²?

 No.123482

File:1598555465579.png (441.53 KB,771x746)

Counting? Get in the locker dork.

 No.123496

>>123456
Checked.
Stop being such a flipping nerd.

 No.123497

>>123468
I fucked up. It should have been 55, not 5.

 No.123892

File:1676240016950.png (273.45 KB,764x652)

whipped this brute-force program up

https://wandbox.org/permlink/QohbrkiJNgwLa8tc

there is a clear pattern once the first N is found, for 2020 that is 4x ones + 2 or more zeros for positive integer x

i wonder if there are any divisors which don't follow that pattern?

 No.123893

>>123892
Here is a proof that the pattern exists (though it doesn't disprove other potential patterns, I am not smart enough for that).

Find a number N that is divisible by X and that consists of d digits: y ones followed by z zeros such that y+z = d

We construct a second number A which is also divisible by X and is guaranteed to be a string of ones and zeros:
A=N*10^y + N

A is divisible by X because it is an integer multiple of N and N is divisible by X: as show by the rewritten equation A = N*(10^y + 1)

A is a string of ones followed by zeros because N*10^y has y ones followed by z zeroes (from N), followed by y more zeroes from 10^y, such that that A is y ones followed by y+z = d zeroes. N is d digits, so there is no overlap between the two parts of A.

 No.123894

File:[SubsPlease] Kono Subarash….jpg (279.33 KB,1920x1080)

>>123893
This is very true and I endorse this math because it... there's numbers and stuff in it.

 No.123907

>>123892
A fraction can be expressed as a repeating decimal where the repeating group of digits is j digits long and starts k digits after the decimal point if and only if it can be expressed as a fraction with a denominator of j "9" digits followed by k "0" digits. We can write 1/2020 as such a fraction with a denominator of j "9" digits followed by k "0" digits if and only if the number with j "1" digits followed by k "0" digits is divisible by 2020. And 1/2020 in decimal form is 0.00(0495).




[Return] [Top] [Catalog] [Post a Reply]
Delete Post [ ]

[ home / bans / all ] [ qa / jp ] [ spg ] [ f / ec ] [ b / poll ] [ tv / bann ] [ toggle-new / tab ]