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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A122257 Characteristic function of Pierpont primes. 3
0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 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, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

a(n) = if (n is prime) and (n-1 is 3-smooth) then 1 else 0.

a(n) = if n=1 then 0 else A122258(n) - A122258(n-1);

a(A122259(n)) = 0, a(A005109(n)) = 1.

LINKS

Table of n, a(n) for n=1..105.

Index entries for characteristic functions

Eric Weisstein's World of Mathematics, Pierpont Prime

FORMULA

a(n) = A010051(n) * A065333(n-1).

CROSSREFS

Sequence in context: A143222 A010060 A118247 * A129950 A010051 A131929

Adjacent sequences:  A122254 A122255 A122256 * A122258 A122259 A122260

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller, Aug 29 2006

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified May 23 01:22 EDT 2013. Contains 225585 sequences.