cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A105214 Companion sequence to A103683: a(n) = k if A103683(k) = n; a(n) = 0 if n is not in {A103683}.

This page as a plain text file.
%I A105214 #28 Jan 05 2022 11:48:31
%S A105214 1,2,3,6,4,46,5,10,7,22,8,50,9,14,11,18,12,54,13,26,21,30,15,58,16,34,
%T A105214 17,42,19,62,20,38,25,70,31,66,23,74,29,78,24,102982,27,86,41,82,28,
%U A105214 102974,35,98,33,90,32,102978,36,102,37,106,39,102990,40,94,71
%N A105214 Companion sequence to A103683: a(n) = k if A103683(k) = n; a(n) = 0 if n is not in {A103683}.
%C A105214 A103683 is injective.
%C A105214 Inverse of A103683.
%C A105214 Conjecture: a(42 + 6*k) = 0.  This would follow from the conjecture that for n >= 67, A103683(n) is divisible by 3 iff n == 3 mod 4 and by 2 iff n == 2 mod 4. - _Robert Israel_, May 12 2015
%C A105214 The conjecture is false; a(42) = 102982. - _Rémy Sigrist_, Jan 05 2022
%H A105214 Rémy Sigrist, <a href="/A105214/b105214.txt">Table of n, a(n) for n = 1..10000</a>
%H A105214 Rémy Sigrist, <a href="/A105214/a105214_1.txt">C program for A105214</a>
%e A105214 a(6) = 46 because A103683(46) = 6.
%t A105214 f[s_] := Block[{k = 1, l = Take[s, -3]}, While[ Union[ GCD[k, l]] != {1} || MemberQ[s, k], k++]; Append[s, k]]; Take[Ordering@ Nest[f, {1, 2, 3}, 200], 41] (* _Robert G. Wilson v_, Jun 26 2011 *)
%o A105214 (C) See Links section.
%Y A105214 Cf. A103683.
%K A105214 nonn
%O A105214 1,2
%A A105214 _Leroy Quet_ and _Robert G. Wilson v_, Apr 13 2005
%E A105214 More terms from _Rémy Sigrist_, Jan 05 2022