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!)
A241915 After a(1)=1, numbers 1 .. A061395(n), followed by numbers 1 .. A061395(n+1), etc. 4
1, 1, 1, 2, 1, 1, 2, 3, 1, 2, 1, 2, 3, 4, 1, 1, 2, 1, 2, 3, 1, 2, 3, 4, 5, 1, 2, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 1, 2, 3, 1, 1, 2, 3, 4, 5, 6, 7, 1, 2, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 1, 2, 3, 4, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 2, 1, 2, 3, 1, 2, 3, 4, 5, 6, 1, 2, 1, 2, 3, 4, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
FORMULA
a(1)=1, a(n) = n - A203623(A241920(n)-1) - 1.
EXAMPLE
Viewed as an irregular table, the sequence is constructed as:
"Row"
[1] 1; (by convention, a(1)=1)
[2] 1; (because A061395(2)=1 (the index of the largest prime factor), we have here terms from 1 to 1)
[3] 1, 2; (because A061395(3)=2, we have terms from 1 to 2)
[4] 1;
[5] 1, 2, 3; (because A061395(5)=3, we have terms from 1 to 3)
[6] 1, 2; (because A061395(6)=2, we have terms from 1 to 2)
[7] 1, 2, 3, 4; (because A061395(7)=4, we have terms from 1 to 4)
etc.
PROG
(Scheme)
(define (A241915 n) (if (= n 1) 1 (- n (A203623 (- (A241920 n) 1)) 1)))
CROSSREFS
One more than A241914.
Sequence in context: A141289 A368878 A284271 * A301891 A332089 A177219
KEYWORD
nonn,tabf
AUTHOR
Antti Karttunen, May 01 2014
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 April 25 11:39 EDT 2024. Contains 371969 sequences. (Running on oeis4.)