)^{w_j}}{2},\label{frmcn}$$ where $n$ has the prime factorization $$n=2^{{\alpha}}3^{{\beta}}\prod_{i=1}^{r}p_i^{v_i}\prod_{j=1}^sq_j^{w_j},$$ where $p_i \equiv 1 {\,(\textup{mod}\,3)}$ and $2\neq q_i \equiv 2 {\,(\textup{mod}\,3)}$.

From, we have $$\label{sevdi}
a(n)={\dfrac}{c(n)-c(n/3)}{3}+c(n/9)+{\dfrac}{4}{3}d(n),$$ where we assume $c(n/l)=0$ if $l\not|\, n$. If $n \not \equiv 1
{\,(\textup{mod}\,6)}$, then $d(n)\equiv 0$ and $a(n)=c(n/9)$ if $3|n$, while $a(n)=c(n)/3$ if $3\not |n$. This proves the claim in for $a(n)$.

Now assume $n \equiv 1 {\,(\textup{mod}\,6)}$. If $p$ is a prime and $p \equiv 1
{\,(\textup{mod}\,3)}$, then by we see that $c(p)=4$. If $p$ is represented by the form $(1,0,27)$, then $a(p)=4$. This is because $4 \leq a(p)
\leq c(p)=4$. Using we see that $d(p)=2$. If $p$ is not represented by $(1,0,27)$ then, by, $d(p)=-1$. Gauss proved that if $p$ is a prime and $p \equiv 1 {\,(\textup{mod}\,3)}$, then $p$ is represented by $(1,0,27)$ iff $2$ is a cubic residue modulo $p$ or, equivalently, iff $2^{(p-1)/3} \equiv 1 {\,(\textup{mod}\,p)}$. Therefore,

$$\label{dtable}
d(p)=\left\{ \begin{array}{ll}
        2 &  \text{if}\;\; p \equiv 1 {\,(\textup{mod}\,3)} \;\;\text{and}\;\; 2^{(
) ^{w_j}}{2},\label{frmcn}$$ where $ n$ has the prime factorization $ $ n=2^{{\alpha}}3^{{\beta}}\prod_{i=1}^{r}p_i^{v_i}\prod_{j=1}^sq_j^{w_j},$$ where $ p_i \equiv 1 { \,(\textup{mod}\,3)}$ and $ 2\neq q_i \equiv 2 { \,(\textup{mod}\,3)}$. 

 From, we have $ $ \label{sevdi } 
 a(n)={\dfrac}{c(n)-c(n/3)}{3}+c(n/9)+{\dfrac}{4}{3}d(n),$$ where we assume $ c(n / l)=0 $ if $ l\not|\, n$. If $ n \not \equiv 1 
 { \,(\textup{mod}\,6)}$, then $ d(n)\equiv 0 $ and $ a(n)=c(n/9)$ if $ 3|n$, while $ a(n)=c(n)/3 $ if $ 3\not |n$. This testify the title in for $ a(n)$. 

 Now assume $ n \equiv 1 { \,(\textup{mod}\,6)}$. If $ p$ is a flower and $ p \equiv 1 
 { \,(\textup{mod}\,3)}$, then by we see that $ c(p)=4$. If $ p$ is represented by the phase $ (1,0,27)$, then $ a(p)=4$. This is because $ 4 \leq a(p) 
 \leq c(p)=4$. Using we see that $ d(p)=2$. If $ p$ is not represent by $ (1,0,27)$ then, by, $ d(p)=-1$. Gauss proved that if $ p$ is a prime and $ phosphorus \equiv 1 { \,(\textup{mod}\,3)}$, then $ p$ is represented by $ (1,0,27)$ iff $ 2 $ is a cubic residue modulo $ p$ or, equivalently, iff $ 2^{(p-1)/3 } \equiv 1 { \,(\textup{mod}\,p)}$. Therefore, 

 $ $ \label{dtable } 
 d(p)=\left\ { \begin{array}{ll } 
         2 &   \text{if}\;\; p \equiv 1 { \,(\textup{mod}\,3) } \;\;\text{and}\;\; 2^ { (
)^{w_j}}{2},\lwbel{frmcn}$$ where $n$ has tht prime factorizajiin $$n=2^{{\al'ha}}3^{{\beta}}\lrod_{i=1}^{r}p_i^{x_i}\prod_{j=1}^sq_j^{w_j},$$ where $p_i \equiv 1 {\,(\twxtup{nod}\,3)}$ and $2\neq q_i \equiv 2 {\,(\gextup{mod}\,3)}$.

Vrom, we yave $$\oabel{sevdi}
e(h)={\dfrac}{c(k)-e(n/3)}{3}+c(n/9)+{\drvac}{4}{3}d(n),$$ xhere we assume $c(n/l)=0$ if $l\nmt|\, n$. If $n \not \aqjir 1
{\,(\textup{mod}\,6)}$, then $d(n)\equiv 0$ and $a(n)=c(n/9)$ is $3|n$, whike $a(n)=c(n)/3$ if $3\not |n$. Thix probvs the claim in for $a(n)$.

Now assums $n \equpv 1 {\,(\textup{mod}\,6)}$. If $l$ is a prime and $p \equiv 1
{\,(\tfxtuo{mod}\,3)}$, then by we sef that $c(p)=4$. Id $p$ yw representea by the form $(1,0,27)$, then $a(p)=4$. This is because $4 \leq a(p)
\leq c(p)=4$. Jsing we see thqt $d(p)=2$. Hf $p$ is not reprvsented by $(1,0,27)$ tmvn, by, $d([)=-1$. Gauss proved that in $p$ iv a prime and $p \equiv 1 {\,(\txxtup{mod}\,3)}$, then $p$ is rgpresented bv $(1,0,27)$ iff $2$ is a cubic rewieue mmdulm $p$ ue, eduibakehtly, ivf $2^{('-1)/3} \equiv 1 {\,(\testup{mod}\,p)}$. Thwrefore,

$$\label{dtable}
d(k)=\lesn\{ \begin{array}{lm}
        2 &  \text{if}\;\; p \equiv 1 {\,(\textup{mod}\,3)} \;\;\text{and}\;\; 2^{(
)^{w_j}}{2},\label{frmcn}$$ where $n$ has the prime factorization $p_i 1 {\,(\textup{mod}\,3)}$ $2\neq q_i \equiv $$\label{sevdi} where we assume if $l\not|\, n$. $n \not \equiv 1 {\,(\textup{mod}\,6)}$, then 0$ and $a(n)=c(n/9)$ if $3|n$, while $a(n)=c(n)/3$ if $3\not |n$. This proves the in for $a(n)$. Now assume $n \equiv 1 {\,(\textup{mod}\,6)}$. If $p$ is a and \equiv {\,(\textup{mod}\,3)}$, by we see that $c(p)=4$. If $p$ is represented by the form $(1,0,27)$, then $a(p)=4$. This because $4 \leq a(p) \leq c(p)=4$. Using we that $d(p)=2$. If $p$ not represented by $(1,0,27)$ then, $d(p)=-1$. proved that $p$ a and $p \equiv {\,(\textup{mod}\,3)}$, then $p$ is represented by $(1,0,27)$ iff $2$ is a cubic residue modulo $p$ or, equivalently, $2^{(p-1)/3} \equiv Therefore, $$\label{dtable} \begin{array}{ll} & p \equiv 1 2^{(
)^{w_j}}{2},\label{frmcn}$$ where $n$ has the pRime factorIzatiOn $$n=2^{{\AlpHa}}3^{{\Beta}}\Prod_{I=1}^{r}p_i^{v_i}\prod_{j=1}^sq_j^{W_J},$$ wheRe $p_i \equiv 1 {\,(\textup{mod}\,3)}$ and $2\nEq q_i \eQuIV 2 {\,(\texTUp{Mod}\,3)}$.

FrOm, we havE $$\LaBEL{seVdI}
a(N)={\dfRaC}{C(n)-C(n/3)}{3}+c(n/9)+{\dFraC}{4}{3}d(n),$$ wherE we assume $c(N/l)=0$ iF $l\Not|\, n$. If $n \not \eqUIv 1
{\,(\Textup{mod}\,6)}$, tHen $D(n)\equiv 0$ and $a(n)=C(n/9)$ iF $3|n$, whilE $a(N)=c(n)/3$ IF $3\not |n$. thiS provEs the cLAim in fOr $a(n)$.

Now asSuME $n \equiV 1 {\,(\Textup{mOD}\,6)}$. if $P$ is a Prime and $p \equiv 1
{\,(\texTUp{MOd}\,3)}$, then by we see tHat $c(p)=4$. IF $p$ IS rEPResEntEd by the forM $(1,0,27)$, tHen $a(p)=4$. tHis is beCAuSE $4 \LEq a(P)
\Leq c(p)=4$. Using we sEe that $d(p)=2$. If $p$ IS noT repreSeNteD By $(1,0,27)$ then, By, $d(p)=-1$. GAuSS prOved that if $p$ Is a pRime and $p \eQuiv 1 {\,(\teXTup{mod}\,3)}$, tHEn $p$ is rePresenTed By $(1,0,27)$ iFf $2$ is A CuBiC reSiDUe mODuLo $p$ OR, eqUivalentLy, IfF $2^{(p-1)/3} \equIv 1 {\,(\teXTUP{Mod}\,p)}$. theRefoRe,

$$\labEl{dtable}
d(p)=\lefT\{ \beGin{aRRay}{Ll}
        2 &  \texT{if}\;\; p \eQuiv 1 {\,(\TeXtup{mOd}\,3)} \;\;\text{And}\;\; 2^{(
)^{w_j}}{2},\label{frmcn}$ $ where $n $ has  th e p ri me f acto rization $$n=2 ^ {{\a lpha}}3^{{\beta}}\prod _{i=1 }^ { r}p_ i ^{ v_i}\ prod_{j = 1} ^ s q_j ^{ w_ j}, $$ wh ere $ p_i  \equiv  1 {\,(\te xtu p{ mod}\,3)}$ a n d$2\neq q_i  \e quiv 2 {\,(\ tex tup{mo d} \,3 ) }$.
Fro m, we  have$ $\labe l{sevdi}a( n )={\df r ac}{c(n ) - c( n/3) }{3}+c(n/9)+{\dfr a c} { 4}{3}d(n),$$ w here w ea ss u m e $ c(n /l)=0$ if$l \not| \ , n$. I f  $ n \ not \equiv 1
{\,( \textup{mod } \,6 )}$, t he n $ d (n)\eq uiv 0 $a nd$a(n)=c(n/9 )$ i f $3|n$,while$ a(n)=c( n )/3$ if  $3\no t | n$.  Thi s  p ro ves  t h e c l ai m i n  fo r $a(n)$ .
N ow as sume $ n \equ iv1 {\ ,(\te xtup{mod}\,6) }$.  If$ p$is aprime  and  $ p \eq uiv 1{\,(\ te xtup{mod}\,3)}$ , th en by wesee  t hat  $ c(p)= 4 $. If$p$  is  repres ented b y  th ef o r m$(1,0,27)$, then $ a( p ) =4 $. Thisis bec a us e$ 4 \leq a (p )
\ leqc ( p)=4$ . Us i ng  we seethat $ d (p )= 2$. If$p $ is n ot  re pre sente d  by$(1,0, 27)$ the n, by ,  $d(p)=-1$. Ga u ss proved tha t  i f $p $  isa p rime and $p  \eq u iv 1  {\, ( \t ext u p{mod }\,3) }$ ,  t h en $p$ is represent ed  by $( 1,0,2 7)$ iff $2$ i s a cubicr e s idue mod ulo$ p$ or, equivalent ly, i ff $2^{(p- 1 )/3} \eq uiv 1  {\,(\te xtup{mod} \ , p)}$. Th ere for e,
$$ \ l ab el{dtable}
d( p ) =\le ft \{ \beg in{ array}{ ll} 
     2&  \text{ if}\;\;p\e qu iv  1{\,(\ t extup{mo d} \,3 )}  \; \;\te x t{and} \;\;2^{( 
)^{w_j}}{2},\label{frmcn}$$ where_$n$ has_the prime factorization $$n=2^{{\alpha}}3^{{\beta}}\prod_{i=1}^{r}p_i^{v_i}\prod_{j=1}^sq_j^{w_j},$$_where $p_i_\equiv_1 {\,(\textup{mod}\,3)}$_and_$2\neq q_i \equiv_2 {\,(\textup{mod}\,3)}$.

From, we_have $$\label{sevdi}
a(n)={\dfrac}{c(n)-c(n/3)}{3}+c(n/9)+{\dfrac}{4}{3}d(n),$$ where we_assume $c(n/l)=0$ if_$l\not|\,_n$. If $n \not \equiv 1
{\,(\textup{mod}\,6)}$, then $d(n)\equiv 0$ and $a(n)=c(n/9)$ if $3|n$, while_$a(n)=c(n)/3$_if $3\not_|n$._This_proves the claim in for_$a(n)$.

Now assume $n \equiv 1_{\,(\textup{mod}\,6)}$. If_$p$ is a prime and $p \equiv 1
{\,(\textup{mod}\,3)}$,_then_by we see_that $c(p)=4$. If $p$ is represented by the form_$(1,0,27)$, then $a(p)=4$. This is because_$4 \leq a(p)
\leq_c(p)=4$._Using_we see that $d(p)=2$._If $p$ is not represented by_$(1,0,27)$ then, by, $d(p)=-1$. Gauss proved_that if $p$ is a prime and_$p \equiv 1 {\,(\textup{mod}\,3)}$, then $p$_is represented by $(1,0,27)$ iff_$2$ is_a cubic residue modulo $p$_or, equivalently, iff_$2^{(p-1)/3} \equiv_1 {\,(\textup{mod}\,p)}$. Therefore,

$$\label{dtable}
d(p)=\left\{_\begin{array}{ll}
     _  2_&  \text{if}\;\; p \equiv 1_{\,(\textup{mod}\,3)}_\;\;\text{and}\;\; 2^{(