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!)
A276374 Numbers n such that A240024(n) = A002808(n). 2

%I #18 Sep 10 2016 16:25:14

%S 5,6,8,13,14,24,26,31,32,34,51,54,57,62,69,82,83,93,99,113,114,119,

%T 125,132,133,139,143,145,151,161,165,181,182,192,195,212,217,219,224,

%U 233,266,282,293,295,304,311,312,318,325,338,354,364,369,375,376,382

%N Numbers n such that A240024(n) = A002808(n).

%H Peter Kagey, <a href="/A276374/b276374.txt">Table of n, a(n) for n = 1..10000</a>

%t c = Select[Range@ 500, CompositeQ]; a = {1, 4}; Do[k = 6; While[Or[PrimeQ@ k, MemberQ[a, k], CoprimeQ[a[[i - 1]], k]], k++]; AppendTo[a, k], {i, 3, Length@ c}]; Flatten@ Position[Union /@ Transpose@ {a, c}, w_ /; Length@ w == 1] (* _Michael De Vlieger_, Sep 01 2016 *)

%o (Haskell)

%o a276374 n = a276374_list !! (n - 1)

%o a276374_list = filter (\i -> a240024 i == a002808 i) [1..]

%Y Cf. A002808, A240024, A276375.

%K nonn

%O 1,1

%A _Peter Kagey_, Aug 31 2016

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 25 10:22 EDT 2024. Contains 371967 sequences. (Running on oeis4.)