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!)
A259978 Terms in A053177 that are relatively prime to 3. 2

%I #29 Aug 06 2018 05:30:39

%S 35,95,119,143,203,215,275,299,335,395,455,515,527,539,623,635,695,

%T 707,767,779,803,899,923,935,959,1007,1043,1115,1127,1139,1175,1199,

%U 1235,1295,1355,1403,1547,1595,1643,1655,1679,1715,1727,1763,1775,1859,1883,1895

%N Terms in A053177 that are relatively prime to 3.

%H Lars Blomberg, <a href="/A259978/b259978.txt">Table of n, a(n) for n = 1..4332</a>

%H R. P. Boas & N. J. A. Sloane, <a href="/A005381/a005381.pdf">Correspondence, 1974</a>

%F a(n) = 2*A275770(n) + 1. - _Hilko Koning_, Jul 23 2018

%t Select[2 Prime@ Range@ 162 + 1, CompositeQ@ # && GCD[3, #] == 1 &] (* _Michael De Vlieger_, Jul 13 2015 *)

%o (PARI) isok(n) = (n % 2) && !isprime(n) && isprime((n-1)/2) && (gcd(n, 3) == 1); \\ _Michel Marcus_, Jul 28 2018

%Y Cf. A053177.

%K nonn,easy

%O 1,1

%A _N. J. A. Sloane_, Jul 12 2015, following a suggestion from R. P. Boas, May 19 1974

%E More terms from _Lars Blomberg_, Jul 13 2015

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 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)