Convert "Prime Factors" to typst
This commit is contained in:
parent
1072ed8059
commit
9cd8ab741c
@ -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}
|
29
src/Warm-Ups/Prime Factors/main.typ
Normal file
29
src/Warm-Ups/Prime Factors/main.typ
Normal file
@ -0,0 +1,29 @@
|
||||
#import "@local/handout:0.1.0": *
|
||||
|
||||
#show: doc => handout(
|
||||
doc,
|
||||
quarter: link(
|
||||
"https://betalupi.com/handouts",
|
||||
"betalupi.com/handouts",
|
||||
),
|
||||
|
||||
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