login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A257681 Column index of A257503: If A257685(n) = 0, then a(n) = A257682(n), otherwise a(n) = a(A257685(n)). 9
0, 1, 2, 3, 1, 4, 5, 6, 7, 8, 9, 10, 2, 11, 12, 13, 3, 14, 1, 15, 16, 17, 4, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 5, 43, 44, 45, 6, 46, 47, 48, 49, 50, 51, 52, 7, 53, 54, 55, 8, 56, 9, 57, 58, 59, 10, 60, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

COMMENTS

a(0) = 0 by convention, because 0 is not present in arrays A257503 and A257505.

LINKS

Antti Karttunen, Table of n, a(n) for n = 0..10080

FORMULA

If A257685(n) = 0, then a(n) = A257682(n), otherwise a(n) = a(A257685(n)).

PROG

(Scheme, two versions, utilizing memoizing definec-macro)

(definec (A257681 n) (if (zero? (A257685 n)) (A257682 n) (A257681 (A257685 n))))

(definec (A257681 n) (if (or (zero? n) (= 1 (A257680 n))) (A257682 n) (A257681 (A257685 n))))

CROSSREFS

Cf. A257680, A257682, A257685.

Column index of A257503, row index of A257505.

Cf. also A257679 (gives the other index).

Sequence in context: A117385 A071517 A305433 * A265755 A330139 A046671

Adjacent sequences:  A257678 A257679 A257680 * A257682 A257683 A257684

KEYWORD

nonn

AUTHOR

Antti Karttunen, May 04 2015

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 8 08:48 EDT 2020. Contains 333313 sequences. (Running on oeis4.)