[go: up one dir, main page]

login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
Revision History for A262679 (Underlined text is an addition; strikethrough text is a deletion.)

Showing all changes.
A262679 a(n) = largest k in A259934 which is an ancestor of n in a tree generated by edge-relation A049820(child) = parent. If n is itself in A259934, then a(n) = n.
(history; published version)
#9 by N. J. A. Sloane at Sun Oct 04 13:11:49 EDT 2015
STATUS

proposed

approved

#8 by Antti Karttunen at Sun Oct 04 13:11:37 EDT 2015
STATUS

editing

proposed

#7 by Antti Karttunen at Sun Oct 04 08:30:18 EDT 2015
NAME

a(n) = largest k in A259934 which is an ancestor of n in a tree definedgenerated by edge-relation A049820(child) = parent. If n is itself in A259934, then a(n) = n.

#6 by Antti Karttunen at Sun Oct 04 08:09:11 EDT 2015
COMMENTS

For the terms outside of A259934 the condition "largest k in A259934 which is an ancestor of n" is equivalent to the condition "nearest ancestor in A259934".

#5 by Antti Karttunen at Sun Oct 04 08:08:22 EDT 2015
LINKS

Antti Karttunen, <a href="/A262679/b262679.txt">Table of n, a(n) for n = 0..65538</a>

#4 by Antti Karttunen at Sun Oct 04 08:00:37 EDT 2015
NAME

a(n) = the largest k in A259934 which is an ancestor of n in a tree defined by edge-relation A049820(child) = parent. If n is itself in A259934, then a(n) = n.

COMMENTS

For the terms outside of A259934 the condition "largest k in A259934" is equivalent to the condition "nearest ancestor in A259934".

#3 by Antti Karttunen at Sun Oct 04 06:50:22 EDT 2015
NAME

a(n) = the largest k in A259934 which is an ancestor of n in a tree defined by edge-relation A049820(child) = parent. If n is itself in A259934, then a(n) = n.

#2 by Antti Karttunen at Sun Oct 04 06:49:09 EDT 2015
NAME

allocateda(n) = the largest k in A259934 which is an ancestor of n in a tree defined edge-relation A049820(child) = parent. If n is itself forin AnttiA259934, then Karttunena(n) = n.

DATA

0, 0, 2, 0, 0, 0, 6, 0, 0, 6, 6, 6, 12, 6, 6, 6, 6, 6, 18, 6, 6, 6, 22, 6, 6, 22, 22, 6, 22, 6, 30, 6, 22, 6, 34, 6, 6, 6, 34, 6, 22, 6, 42, 6, 34, 6, 46, 6, 34, 46, 34, 6, 46, 6, 54, 6, 34, 6, 58, 6, 34, 6, 62, 6, 6, 6, 58, 6, 62, 6, 70, 6, 34, 6, 70, 6, 70, 6, 78, 6, 70, 70, 78, 70, 34, 70, 78, 70, 70, 70, 90, 70, 78, 70, 94, 70, 34, 70, 78, 70, 70, 70, 102, 70, 34, 70, 106, 70, 34, 70, 102, 70, 102, 70, 114, 70, 102, 70, 118, 70, 34, 121, 118, 70

OFFSET

0,3

FORMULA

If A262693(n) = 1 [i.e., when n is in A259934], then a(n) = n, otherwise a(n) = a(A049820(n)).

PROG

(Scheme, with memoization-macro definec)

(definec (A262679 n) (cond ((= 1 (A262693 n)) n) (else (A262679 (A049820 n)))))

CROSSREFS

Cf. A000005, A049820, A259934, A262693.

Cf. A262522, A262695, A262696, A262697.

KEYWORD

allocated

nonn

AUTHOR

Antti Karttunen, Oct 04 2015

STATUS

approved

editing

#1 by Antti Karttunen at Sun Sep 27 07:44:36 EDT 2015
NAME

allocated for Antti Karttunen

KEYWORD

allocated

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 29 08:01 EDT 2024. Contains 375510 sequences. (Running on oeis4.)