Convert warm-ups to typst #2

Merged
Mark merged 19 commits from warmups into main 2025-01-24 22:41:36 -08:00
2 changed files with 23 additions and 34 deletions
Showing only changes of commit 5b245b9e16 - Show all commits

View File

@ -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}

View 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)