A276463 Position at which n first appears in A276457, with a(0)=0.
0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 120, 160, 158, 140, 337, 171, 189, 207, 165, 248, 230, 263, 122, 124, 126, 128, 130, 132, 134, 136, 138, 244, 757, 142, 144, 146, 148, 150, 152, 154, 156, 374, 725, 399, 279, 291, 556, 295, 423, 167, 169, 502, 429, 173, 175, 177, 179, 181, 183, 185, 187, 496, 508, 191, 193, 195, 197
Offset: 0
Links
- Yuriy Sibirmovsky, Table of n, a(n) for n = 0..1186
Programs
-
Mathematica
Nm=1000; Aa=Table[0,{j,1,Nm}]; Aa[[3]]=1; Do[B=Table[IntegerDigits[Aa[[l]]],{l,1,j-1}]; Aa[[j+1]]=SequenceCount[Flatten[B],IntegerDigits[Aa[[j]]]],{j,3,Nm-1}]; Table[Position[Aa,k][[1]]-1,{k,0,50}]
Comments