\documentclass[11pt]{article}

\usepackage{fullpage}
\usepackage{epic}
\usepackage{eepic}
\usepackage{psfig}

%\newcommand{\proof}[1]{
%{\noindent {\it Proof.} {#1} \rule{2mm}{2mm} \vskip \belowdisplayskip}
%}


%\newtheorem{lemma}{Lemma}[section]
%\newtheorem{theorem}[lemma]{Theorem}
%\newtheorem{claim}[lemma]{Claim}
%\newtheorem{definition}[lemma]{Definition}
%\newtheorem{corollary}[lemma]{Corollary}

%Theorems and likes 
\newtheorem{assumption}{Assumption}[section]
\newtheorem{theorem}{Theorem}[section]
\newtheorem{fact}{Fact}[section]
\newtheorem{claim}{Claim}[section]
\newtheorem{lemma}{Lemma}[section]
\newtheorem{definition}{Definition}[section]
\newtheorem{corollary}{Corollary}[section]
\newtheorem{exercise}{Exercise}[section]

\newcommand{\bproof}{\noindent{\it Proof}}
%\newcommand{\eproof}{\hspace*{\fill}$\Box$~~~~~\bigskip}
\newcommand{\eproof}{\hspace*{\fill}\rule{2mm}{2mm}~~~~~\bigskip}
\newenvironment{proof}{\bproof: }{\eproof}

% symbols and notation
\newcommand{\defeq}{\stackrel{\rm def}{=}}

% Additional Math Notations (Arun Iyer)
\newcommand{\nchoosek}[2]{\left(\begin{array}{c}#1\\#2\end{array}\right)}
\DeclareSymbolFont{AMSb}{U}{msb}{m}{n}
\DeclareMathSymbol{\N}{\mathbin}{AMSb}{"4E}
\DeclareMathSymbol{\Z}{\mathbin}{AMSb}{"5A}
\DeclareMathSymbol{\R}{\mathbin}{AMSb}{"52}
\DeclareMathSymbol{\Q}{\mathbin}{AMSb}{"51}
\DeclareMathSymbol{\I}{\mathbin}{AMSb}{"49}
\DeclareMathSymbol{\C}{\mathbin}{AMSb}{"43}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\setlength{\oddsidemargin}{0in}
\setlength{\topmargin}{0in}
\setlength{\textwidth}{6in}
\setlength{\textheight}{8in}

\begin{document}

\setlength{\fboxrule}{.5mm}\setlength{\fboxsep}{1.2mm}
\newlength{\boxlength}\setlength{\boxlength}{\textwidth}
\addtolength{\boxlength}{-4mm}
\begin{center}\framebox{\parbox{\boxlength}{\bf
CS 681: Computational Number Theory and Algebra \hfill 
Lecture 19: Smooth Numbers
\\
Lecturer: Manindra Agrawal
\hfill
Notes by: Arun Iyer
%\\
\begin{flushright}
%date
September 20, 2005.
\end{flushright}
}}\end{center}
\vspace{5mm}

\section{Smooth Numbers}
\begin{definition}
A number x is said to be y-smooth if all its prime factors are less than or equal to y.
\end{definition}
Example of Smooth Numbers :\\1, 2, 4, 8, 16, 32, 64, 128, 256, 512, ... are 2-smooth\\1, 2, 3, 4, 6, 8, 9, 12, 16, 18, 24, ... are 3-smooth\\1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 16, ... are 5-smooth\\Smooth Numbers are used in Elliptic Curve Factoring, Quadratic Sieve and Number Field Sieve, the three most popular integer factoring algorithms. They are also used in index calculus method for discrete log problem. Before delving any further, we need to first get an idea of density of smooth numbers.

\section{Density of Smooth Numbers}
Let $\Psi (x,y) = \{m \leq x \, | \, m \; is \; y-smooth\}$\\Let $\psi (x,y) = |\Psi (x,y)|$\\Suppose m is y-smooth.\\Then $m=p_1^{\alpha_1} p_2^{\alpha_2} \ldots p_t^{\alpha_t}$\\where $p_1,p_2,\ldots,p_t$ are all primes less than or equal to y.

\subsection{Upper Bound on the Density}
One way to go about finding the upper bound is,
\begin{center}\begin{tabular}{lcl}
$\psi(x,y)$ & $=$ & $\prod_{i=1}^{t}(1+\log_{p_i}(x))$ \\
 & $\leq$ & $\prod_{i=1}^{t}(1+\log_{2}(x))$\\
 & $=$ & $O((\log x)^t)$\\
 & $=$ & $O((\log x)^{\frac{y}{\log y}})$\\
\end{tabular}\end{center}
\begin{exercise}
Find a decent upper bound for $\psi(x,y)$.
\end{exercise}
\subsection{Lower Bound on the Density}
The highest power of $y$ that can divide into $x$ is $\log_y(x)$. It is easily seen that, $\sum_{i=1}^{t} \alpha_i \geq \log_y(x) + t$. Therefore,\begin{center}\begin{tabular}{lcl}
$\psi(x,y)$ & $\geq$ & $\nchoosek{\log_y(x) + t}{t}$ \\
 & $\geq$ & $\frac{t^{\log_y x}}{(\log_y x)!}$\\
 & $=$ & $\Omega \left(\begin{array}{c} \frac{t^{\log_y x}}{(\log_y x)^{\log_y x}} \end{array}\right)$\\
 & $=$ & $\Omega \left(\begin{array}{c} \frac{x}{(\log_y x)^{2\log_y x}} \end{array}\right)$\\
\end{tabular}\end{center}

\section{References}
\begin{enumerate}
\item Eric W. Weisstein. "Smooth Number." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/SmoothNumber.html
\end{enumerate}
\end{document}

