Skip to content
Puzzle Library
PuzzlesCollectionsNotesTimelineAboutRSS
中文
← RoseCode

ROSECODE / 406

Mertens Equations

Philippe_57721 · Programming · 2017-09-15

The Mertens function is the summatory function of the Möbius function.

M(n)=∑k≤nμ(k)

Find the first i such as M(i)=−9876 and the first j such as M(j)=+9876

Answer format: i,j

You are given: 12855874,10193871 // For ±1234

[My timing: 60 sec]
Original archive ↗

Problem preserved from RoseCode, with formatting adapted for this archive. CC BY-NC-SA 4.0

← Previous 405Next 407 →

A quiet place for problems worth keeping.

PUZZLE LIBRARY