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

 

Logo

Annual Appeal: Please make a donation to keep the OEIS running. In 2018 we replaced the server with a faster one, added 20000 new sequences, and reached 7000 citations (often saying "discovered thanks to the OEIS").
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A166260 a(n) = A089026(n) - 1. 1
0, 1, 2, 0, 4, 0, 6, 0, 0, 0, 10, 0, 12, 0, 0, 0, 16, 0, 18, 0, 0, 0, 22, 0, 0, 0, 0, 0, 28, 0, 30, 0, 0, 0, 0, 0, 36, 0, 0, 0, 40, 0, 42, 0, 0, 0, 46, 0, 0, 0, 0, 0, 52, 0, 0, 0, 0, 0, 58, 0, 60, 0, 0, 0, 0, 0, 66, 0, 0, 0, 70, 0, 72, 0, 0, 0, 0, 0, 78, 0, 0, 0, 82, 0, 0, 0, 0, 0, 88, 0, 0, 0, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

COMMENTS

Same as A061006 except for a(4) = 0 (Wilson's Theorem). - Georg Fischer, Oct 12 2018

LINKS

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

FORMULA

a(n) = (n-1) * A010051(n). - Wesley Ivan Hurt, Oct 12 2018

PROG

(PARI) a(n) = if (isprime(n), n-1, 0); \\ Michel Marcus, Oct 12 2018

CROSSREFS

Cf. A010051, A061006, A089026.

Cf. A119690. - R. J. Mathar, Oct 16 2009

Sequence in context: A065806 A228087 A119690 * A319813 A071648 A001613

Adjacent sequences:  A166257 A166258 A166259 * A166261 A166262 A166263

KEYWORD

nonn

AUTHOR

Mats Granvik, Oct 10 2009

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 December 11 01:49 EST 2018. Contains 318049 sequences. (Running on oeis4.)