login
First position of n in A308712, or -1 if that number is not in A308712.
1

%I #18 Jan 21 2021 22:22:09

%S 0,1,3,5,2,7,4,17,9,14,6,19,11,24,16,29,8,21,13,65,26,83,18,31,10,62,

%T 23,93,15,54,28,98,85,59,20,33,12,77,64,196,25,95,82,214,56,43,30,100,

%U 87,219,61,48,22,35,92,480,79,211,53,198,27,185,97,891,84,216,58

%N First position of n in A308712, or -1 if that number is not in A308712.

%H Rémy Sigrist, <a href="/A340272/b340272.txt">Table of n, a(n) for n = 0..10000</a>

%H Rémy Sigrist, <a href="/A340272/a340272.gp.txt">PARI program for A340272</a>

%e A308712(2)=4, so a(4)=2.

%o (PARI) See Links section.

%Y Cf. A308712.

%K nonn

%O 0,3

%A _J. Lowell_, Jan 02 2021

%E a(0) = 0 added and escape clause adjusted by _Rémy Sigrist_, Jan 17 2021