Convert "Prime Factors" to typst
This commit is contained in:
parent
df27f2d46e
commit
5b245b9e16
@ -1,34 +0,0 @@
|
|||||||
\documentclass[
|
|
||||||
solutions,
|
|
||||||
singlenumbering,
|
|
||||||
nopagenumber,
|
|
||||||
hidewarning
|
|
||||||
]{../../../lib/tex/ormc_handout}
|
|
||||||
\usepackage{../../../lib/tex/macros}
|
|
||||||
|
|
||||||
\title{Warm-Up: Prime Factors}
|
|
||||||
\uptitler{\smallurl{}}
|
|
||||||
\subtitle{Prepared by Mark on \today.}
|
|
||||||
|
|
||||||
\begin{document}
|
|
||||||
|
|
||||||
\maketitle
|
|
||||||
|
|
||||||
\problem{}
|
|
||||||
What proportion of integers have $2$ as their smallest prime factor?
|
|
||||||
% 1^2
|
|
||||||
\vfill
|
|
||||||
|
|
||||||
|
|
||||||
\problem{}
|
|
||||||
What proportion of integers have $3$ as their second-smallest prime factor?
|
|
||||||
% 1/6
|
|
||||||
\vfill
|
|
||||||
|
|
||||||
|
|
||||||
\problem{}
|
|
||||||
What is the median second-smallest prime factor?
|
|
||||||
% 37
|
|
||||||
\vfill
|
|
||||||
|
|
||||||
\end{document}
|
|
23
src/Warm-Ups/Prime Factors/main.typ
Normal file
23
src/Warm-Ups/Prime Factors/main.typ
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
#import "@local/handout:0.1.0": *
|
||||||
|
|
||||||
|
#show: handout.with(
|
||||||
|
title: [Warm-Up: Prime Factors],
|
||||||
|
by: "Mark",
|
||||||
|
)
|
||||||
|
|
||||||
|
#problem()
|
||||||
|
What proportion of integers have $2$ as their smallest prime factor?
|
||||||
|
#solution([$1 div 2$])
|
||||||
|
#v(1fr)
|
||||||
|
|
||||||
|
|
||||||
|
#problem()
|
||||||
|
What proportion of integers have $3$ as their second-smallest prime factor?
|
||||||
|
#solution([$1 div 6$])
|
||||||
|
#v(1fr)
|
||||||
|
|
||||||
|
|
||||||
|
#problem()
|
||||||
|
What is the median second-smallest prime factor?
|
||||||
|
#solution([37])
|
||||||
|
#v(1fr)
|
Loading…
x
Reference in New Issue
Block a user