login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A200263 a(n) = 1 iff n-th prime has an odd digit sum. 3
0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

1

LINKS

T. D. Noe, Table of n, a(n) for n = 1..1000

MATHEMATICA

If[OddQ[Total[IntegerDigits[#]]], 1, 0]&/@Prime[Range[100]] (* Harvey P. Dale, Jul 08 2019 *)

PROG

(MAGMA) [IsOdd(&+Intseq(NthPrime(n))) select 1 else 0: n in [1..100]];  // Bruno Berselli, Nov 15 2011

CROSSREFS

Sequence in context: A285978 A138712 A029693 * A051067 A288858 A190897

Adjacent sequences:  A200260 A200261 A200262 * A200264 A200265 A200266

KEYWORD

nonn,base

AUTHOR

N. J. A. Sloane, Nov 15 2011

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 12 02:06 EDT 2021. Contains 343808 sequences. (Running on oeis4.)