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!)
A185706 Characteristic function of positive numbers that are primes ending in 3. 6
0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 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, 0, 0, 0, 1, 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, 0, 0, 0, 1, 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, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET

1

LINKS

Antti Karttunen, Table of n, a(n) for n = 1..65539

Index entries for characteristic functions

MATHEMATICA

Array[Boole@ And[PrimeQ@ #, Mod[#, 10] == 3] &, 105] (* Michael De Vlieger, Dec 16 2017 *)

PROG

(PARI) A185706(n) = ((3==(n%10))&isprime(n)); \\ Antti Karttunen, Dec 16 2017

CROSSREFS

Characteristic function of A030431.

Cf. A185709.

Sequence in context: A072609 A328794 A181837 * A025455 A288167 A288991

Adjacent sequences:  A185703 A185704 A185705 * A185707 A185708 A185709

KEYWORD

base,nonn

AUTHOR

N. J. A. Sloane, Feb 10 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 October 20 09:24 EDT 2021. Contains 348100 sequences. (Running on oeis4.)