login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A324908 a(n) = 1 if n is an odd number which is not a square, 0 otherwise. 3
0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1
COMMENTS
Characteristic function of A088828.
LINKS
FORMULA
a(n) = A000035(n)*(1-A010052(n)).
a(n) = A007814(1+A318458(n)).
MATHEMATICA
Array[Boole@ And[OddQ@ #, ! IntegerQ@ Sqrt@ #] &, 105] (* Michael De Vlieger, Mar 30 2019 *)
PROG
(PARI) A324908(n) = ((n%2)&&!issquare(n));
CROSSREFS
Sequence in context: A151763 A353558 A353638 * A353760 A358770 A022925
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 28 2019
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)