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!)
A200260 Numbers k such that k-th prime has an odd digit sum. 4
2, 3, 4, 9, 10, 13, 14, 15, 18, 19, 23, 24, 30, 32, 33, 34, 36, 37, 40, 41, 43, 44, 45, 46, 48, 49, 50, 53, 56, 57, 60, 61, 64, 65, 66, 67, 68, 71, 72, 74, 75, 78, 79, 80, 82, 86, 87, 89, 90, 91, 93, 102, 105, 106, 108, 109, 110, 111, 116, 117, 118, 121, 124 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

MATHEMATICA

Select[Range[1000], OddQ[Total[IntegerDigits[Prime[#]]]] &] (* T. D. Noe, Nov 21 2011 *)

PROG

(MAGMA) [ n: n in [1..162] | IsOdd(&+Intseq(NthPrime(n))) ];  // Bruno Berselli, Nov 15 2011

(PARI) isok(k) = sumdigits(prime(k)) % 2; \\ Michel Marcus, Jul 03 2021

CROSSREFS

Cf. A119450, A200259 (complement).

Sequence in context: A084368 A007498 A073338 * A190119 A273907 A066105

Adjacent sequences:  A200257 A200258 A200259 * A200261 A200262 A200263

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 September 16 08:18 EDT 2021. Contains 347469 sequences. (Running on oeis4.)