login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A296077 a(n) = 1 if 1 + A002322(n) is prime, 0 otherwise, where A002322 is Carmichael lambda. 7
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Out of the first 65537 values, 39743 are 1's (indicating primes), and 25794 are 0's, indicating nonprimes.

LINKS

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

Index entries for characteristic functions

FORMULA

a(n) = A010051(A263027(n)) = A010051(1+A002322(n)).

PROG

(PARI) A296077(n) = isprime(1+lcm(znstar(n)[2]));

CROSSREFS

Characteristic function for A263028.

Cf. A002322, A010051, A263027, A263029 (positions of zeros), A296076, A296079.

Sequence in context: A015435 A014676 A015343 * A322674 A256175 A236861

Adjacent sequences:  A296074 A296075 A296076 * A296078 A296079 A296080

KEYWORD

nonn

AUTHOR

Antti Karttunen, Dec 05 2017

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 July 22 10:41 EDT 2019. Contains 325219 sequences. (Running on oeis4.)