Basecamp
    Home
    Problems
    Contests
    Courses
    Rating
    Posts
    Store
    Discord
MathModel
Sign in
Hasan Saleh
MathModel
Candidate
Palestine
Palestine
Joined Jan 24, 2025
Achievements (1)
Problem Solver
OverviewRatingAchievementsPosts

Rating
1658
Problems151
Submissions202
11월
12월
2020
2월
3월
4월
5월
6월
7월
8월
9월
10월
11월
12월
2021
2월
3월
4월
5월
6월
7월
8월
9월
10월
11월
12월
2022
2월
3월
4월
5월
6월
7월
8월
9월
10월
11월
12월
2023
2월
3월
4월
5월
6월
7월
8월
9월
10월
11월
12월
2024
2월
3월
4월
5월
6월
7월
8월
9월
10월
11월
12월
2025
2월
3월
4월
5월
6월
7월
8월
9월

Rating evolution

MathModel solved problem Number of maximums (#7832) on first attempt3일 전
MathModel has joined contest Educational Round #33일 전
MathModel solved problem Minimum Increasing Cycle (#12253) on 2 attempt4일 전
MathModel solved problem Tree ! (#12252) on first attempt4일 전
MathModel solved problem PAM! (#12251) on first attempt4일 전
MathModel solved problem Count Transformations (#12250) on first attempt4일 전
MathModel solved problem WOOW String (#12249) on first attempt4일 전
MathModel has joined contest Blitz Round #54일 전
MathModel left a comment in discussion Blitz Round #44일 전

tolikshift Thanks ! , Fixed.

MathModel left a comment in discussion Eolymp-value (#12235)8일 전

Dyadka_Dimka Your welcome , Happy I'm helped.

MathModel left a comment in discussion Eolymp-value (#12235)8일 전

Dyadka_Dimka

f(n,k)=(1modk+2modk+...+nmodk)

regardless of k , We're asking how many k that's f(n,k) is a multiple of k

this is equivalent to count of divisors of 1+2+3+....+n

I cannot write more because it's already covered in the editorial.

Have a nice day.

MathModel left a comment in discussion Eolymp-value (#12235)9일 전

Dyadka_Dimka Read Statement Carefully Please

MathModel left a comment in discussion Eolymp-value (#12235)9일 전

Dyadka_Dimka There is no division .

MathModel has joined contest BalkOI 2025 - Day 19일 전
MathModel has completed the contest Weekend Practice #11 and scored 540 points11일 전
MathModel solved problem Powerful Task (#12240) on 7 attempt11일 전
MathModel solved problem Business Matters (#12238) on first attempt12일 전
MathModel solved problem A Wreath for the Fox (#12239) on first attempt12일 전
MathModel left a comment in discussion Eolymp-value (#12235)17일 전

This maybe useful , Let f(n)={d:d∣n} i.e. f(n) is the set of divisors of n.

We claim that f(n)∩f(n+1)={} , This is because gcd(n,n+1)=1 according to Euclidean Algorithm , which shows that no divisors are common expert trivial 1 , Dividing by 2 isn't affecting the claim because it only affect power of 2 and no consecutive integers can be even.

And thus answer is ∣f(2n​)∣×∣f(n+1)∣ when n is even and ∣f(2n+1​)∣×∣f(n)∣ when n is odd.

MathModel left a comment in discussion Eolymp Weekend Practice #11 (Completed)17일 전

Excited to Participate !!

MathModel solved problem Fun function (#8304) on first attempt17일 전
MathModel solved problem Teleportation (#10405) on first attempt17일 전
MathModel solved problem Average value - 1 (#8358) on first attempt17일 전
MathModel solved problem Two Round Dances (#11602) on first attempt17일 전
MathModel solved problem Multiples (#8362) on first attempt17일 전