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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A088412 A088258 indexed by A000142. 1
1, 2, 3, 4, 6, 7, 11, 12, 14, 27, 30, 32, 33, 37, 38, 41, 73, 77, 94, 116, 154, 166, 320, 324, 340, 379, 399, 427, 469, 546, 872, 974, 1477, 1963, 3507, 3610, 6380, 6917, 21480, 26951, 34790, 94550, 103040, 110059, 147855, 150209, 208003 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Union of A002981 and A002982, except 0. - Andrey Zabolotskiy, Aug 25 2016

LINKS

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

Hisanori Mishima, Primes near n!, Dec 2008.

FORMULA

a(n) is such positive k that A088258(n) = A000142(k).

MAPLE

select(t -> isprime(t!-1) or isprime(t!+1), [$1..600]); # Robert Israel, Aug 25 2016

MATHEMATICA

Select[Range[10^3], Or @@ PrimeQ@ {# - 1, # + 1} &[#!] &] (* Michael De Vlieger, Aug 25 2016 *)

CROSSREFS

Cf. A000142, A088258.

Sequence in context: A158806 A184966 A018723 * A074177 A036470 A111243

Adjacent sequences:  A088409 A088410 A088411 * A088413 A088414 A088415

KEYWORD

nonn

AUTHOR

Ray Chandler, Sep 29 2003

EXTENSIONS

Values 320 to 546 extracted from Mishima's table by R. J. Mathar, Mar 05 2010

More terms and correction of the initial term from Andrey Zabolotskiy, Aug 25 2016

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 19 23:59 EDT 2019. Contains 327207 sequences. (Running on oeis4.)