A261171 Value of k for which A260871(n) = A[b](k), with b = A261172(n); A[b](k) = the number whose base-b representation is the concatenation of the base-b representations of (1, ..., k, k-1, ..., 1).
2, 3, 4, 4, 5, 6, 9, 10, 13, 16, 16, 21, 23, 23, 29, 28, 38, 39, 33, 34, 41, 40, 37, 37, 41, 42, 44, 64, 77, 82, 75, 83, 83, 87, 104, 104, 86, 94
Offset: 1
Examples
A260871(1) = A[2](2), therefore a(1) = 2. A260871(2) = A[3](3), therefore a(2) = 3. A260871(3) = A[2](4), therefore a(3) = 4.
Crossrefs
Programs
-
PARI
A261171_list(LIM=1e499)={my(A=List(),p,d);for(b=2,9e9,for(n=b,9e9,if(LIM
b)));ispseudoprime(p)&&listput(A,[log(p),n])));apply(t->t[2],vecsort(A))}
Comments