login
Numbers k such that A035014(k) begins with a 3.
2

%I #17 Feb 27 2022 09:51:14

%S 3,4,5,7,8,9,10,12,13,14,16,19,24,27,28,30,31,32,34,35,36,37,38,39,41,

%T 42,44,46,47,51,53,55,56,59,61,63,64,65,67,68,69,71,72,76,82,83,84,85,

%U 87,89,92,93,96,97,99,100,102,104,105,106,109,111,113,114

%N Numbers k such that A035014(k) begins with a 3.

%C Numbers k such that A023402(k) = 3.

%H Jon E. Schoenfield, <a href="/A241687/b241687.txt">Table of n, a(n) for n = 1..1000</a>

%e 3 is a term of this sequence because A035014(3) = 344 begins with a 3.

%o (PARI) lista(nn) = {my(v=vector(nn), list=List()); v[1] = 4; for (n=2, nn, v[n] = v[n-1] + 10^(n-1)*(4-(v[n-1]/2^(n-1) % 2)); if (v[n]\10^(n-1) == 3, listput(list, n));); Vec(list);} \\ _Michel Marcus_, Feb 27 2022

%Y Cf. A035014, A023402.

%K nonn,base

%O 1,1

%A _J. Lowell_, Apr 27 2014

%E More terms from _Jon E. Schoenfield_, May 05 2014