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



(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A174261 Either n*3-+1 is prime. 0


%S 1,8,12,16,18,22,26,28,30,32,38,42,44,52,54,56,58,70,74,78,84,86,88,

%T 92,98,102,106,110,112,118,120,122,124,126,128,130,132,134,136,146,

%U 148,150,152,156,160,162,164,166,168,170,180,182,186,188,192,196,198,202,204

%N Either n*3-+1 is prime.

%e 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.

%Y Cf. A016477.

%K nonn,easy

%O 1,2

%A _Juri-Stepan Gerasimov_, Mar 14 2010

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 20 10:50 EDT 2021. Contains 347584 sequences. (Running on oeis4.)