|
| |
|
|
A033684
|
|
1 iff n is a square not divisible by 3.
|
|
3
| |
|
|
0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,1
|
|
|
COMMENTS
| Multiplicative with a(p^e) = 1 if 2 divides e and p != 3, 0 otherwise. Mitch Harris (Harris.Mitchell(AT)mgh.harvard.edu) Jun 09, 2005.
a(n) * A000035(n) = A033683(n).
|
|
|
REFERENCES
| J. H. Conway and N. J. A. Sloane, Sphere Packings, Lattices and Groups, Springer-Verlag, p. 105, Eq (40).
|
|
|
LINKS
| Index entries for characteristic functions
|
|
|
FORMULA
| Essentially the series psi_3(z)=(1/2)(theta_3(z/9)-theta_3(z)).
Dirichlet g.f. zeta(2*s)*(1-3^(-2*s)). - R. J. Mathar, Mar 10 2011
|
|
|
MAPLE
| A033684 := proc(n)
if issqr(n) then
if n mod 3 = 0 then
0;
else
1;
end if;
else
0;
end if;
end proc:
seq(A033684(n), n=0..80) ; # R. J. Mathar, Oct 07 2011
|
|
|
CROSSREFS
| Sequence in context: A091444 A091447 A106701 * A080885 A068716 A179828
Adjacent sequences: A033681 A033682 A033683 * A033685 A033686 A033687
|
|
|
KEYWORD
| nonn,mult
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com).
|
| |
|
|