login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A174261 Either n*3-+1 is prime. 0
1, 8, 12, 16, 18, 22, 26, 28, 30, 32, 38, 42, 44, 52, 54, 56, 58, 70, 74, 78, 84, 86, 88, 92, 98, 102, 106, 110, 112, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 146, 148, 150, 152, 156, 160, 162, 164, 166, 168, 170, 180, 182, 186, 188, 192, 196, 198, 202, 204 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

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

EXAMPLE

a(1)=1 because 1*3-1=2=prime and 1*3+1=4=composite; a(2)=8 because 8*3-1=23=prime and 8*3+1=25=composite; a(3)=12 because 12*3-1=37=prime and 12*3+1=39=composite.

CROSSREFS

Cf. A016477.

Sequence in context: A282671 A192991 A083348 * A063539 A253296 A081925

Adjacent sequences:  A174258 A174259 A174260 * A174262 A174263 A174264

KEYWORD

nonn,easy

AUTHOR

Juri-Stepan Gerasimov, Mar 14 2010

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 January 27 15:14 EST 2020. Contains 331295 sequences. (Running on oeis4.)