login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A276951
Index of column where n is located in array A276953 (equally: row in A276955).
7
0, 1, 1, 2, 3, 4, 1, 5, 2, 6, 7, 8, 3, 9, 4, 10, 11, 12, 13, 14, 15, 16, 17, 18, 1, 19, 5, 20, 21, 22, 2, 23, 6, 24, 25, 26, 7, 27, 8, 28, 29, 30, 31, 32, 33, 34, 35, 36, 3, 37, 9, 38, 39, 40, 4, 41, 10, 42, 43, 44, 11, 45, 12, 46, 47, 48, 49, 50, 51, 52, 53, 54, 13, 55, 14, 56, 57, 58, 15, 59, 16, 60, 61, 62, 17, 63, 18, 64
OFFSET
0,4
COMMENTS
a(0) = 0 by convention, because 0 is not present in arrays A276953 and A276955.
FORMULA
a(0) = 0; for n >= 1, if A260736(n) > 0 [when A276950(n) is not zero, when n is in A273670], then a(n) = A276952(n) = 1 + A273663(n), otherwise a(n) = a(A266193(n)).
Other identities. For all n >= 0:
a(n) = A257681(A275847(n)).
PROG
(Scheme) (definec (A276951 n) (cond ((zero? n) n) ((not (zero? (A276950 n))) (A276952 n)) (else (A276951 (A266193 n)))))
CROSSREFS
Cf. arrays A276953 & A276955. A276949 gives their other index.
Cf. also A257681, A275847.
Sequence in context: A023133 A026280 A115994 * A071437 A243713 A332266
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Sep 22 2016
STATUS
approved