login
The OEIS is supported by the many generous donors to the OEIS 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
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
KEYWORD
nonn,easy
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 08:27 EDT 2024. Contains 371698 sequences. (Running on oeis4.)