login
Ordinal transform of A348674.
3

%I #10 Dec 19 2021 12:42:41

%S 1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,

%T 20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,

%U 43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60

%N Ordinal transform of A348674.

%C n is the a(n)-th nonnegative integer having value A348674(n).

%H Alois P. Heinz, <a href="/A349315/b349315.txt">Table of n, a(n) for n = 0..65536</a>

%F a(n) = 1 <=> n in { A349316 }.

%p b:= proc(s) option remember; (n-> {parse(s), seq(seq(seq(x+y,

%p y=b(s[i+1..n])), x=b(s[1..i])), i=1..n-1)})(length(s))

%p end:

%p p:= proc() 0 end:

%p a:= proc(n) option remember; local t;

%p t:= nops(b(""||n));

%p p(t):= p(t)+1

%p end:

%p seq(a(n), n=0..100);

%Y Cf. A348674, A349316.

%K nonn,look,base

%O 0,2

%A _Alois P. Heinz_, Nov 14 2021