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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A282191 Odd numbers divisible by 3 which are neither of the form p + 3^m + 1 nor of the form p + 3^m - 1 with p prime. 0
5973, 22605, 28251, 42663, 47697, 50481, 50643, 52353, 58527, 63897, 71757, 76197, 86049, 92289, 92523, 93675, 94635, 96891, 104457, 105087, 105723, 112875, 117873, 118731, 121827, 122883, 129417, 131289, 137295, 138777, 141195, 141825, 142857, 143433 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Numbers whose distance to both nearest neighbor numbers in A282430 is 1.

LINKS

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

PROG

(MAGMA) lst:=[]; for n in [3..143433 by 6] do c:=0; e:=Floor(Log(3, n)); m:=0; while m le e do a:=n-3^m; if IsPrime(a+1) or IsPrime(a-1) then break; end if; c+:=1; m+:=1; end while; if c eq e+1 then Append(~lst, n); end if; end for; lst;

CROSSREFS

Cf. A282430.

Sequence in context: A032658 A157666 A176374 * A237011 A274362 A233871

Adjacent sequences:  A282188 A282189 A282190 * A282192 A282193 A282194

KEYWORD

nonn

AUTHOR

Arkadiusz Wesolowski, Feb 15 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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 21 10:33 EDT 2018. Contains 316414 sequences. (Running on oeis4.)