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!)
A241911 After a(1)=1, numbers 1 .. bigomega(n), followed by numbers 1 .. bigomega(n+1), etc., where bigomega(n)=A001222(n) is the number of prime factors of n (with repetition). 3
1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 2, 3, 1, 2, 1, 2, 1, 1, 2, 3, 1, 1, 2, 1, 2, 1, 2, 3, 4, 1, 1, 2, 3, 1, 1, 2, 3, 1, 2, 1, 2, 1, 1, 2, 3, 4, 1, 2, 1, 2, 1, 2, 3, 1, 2, 3, 1, 1, 2, 3, 1, 1, 2, 3, 4, 5, 1, 2, 1, 2, 1, 2, 1, 2, 3, 4, 1, 1, 2, 1, 2, 1, 2, 3, 4, 1, 1, 2, 3, 1, 1, 2, 3, 1, 2, 3, 1, 2, 1, 1, 2, 3, 4, 5, 1, 2, 1, 2, 3, 1, 2, 1, 2, 3, 1, 1, 2, 3, 4, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
LINKS
FORMULA
a(1)=1, a(n) = n - A022559(A082288(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 bigomega(2)=1, we have here terms from 1 to 1)
[3] 1; (same with 3, bigomega(3)=1)
[4] 1, 2; (as bigomega(4)=2, we have terms from 1 to 2)
[5] 1;
[6] 1, 2;
[7] 1;
[8] 1, 2, 3; (as bigomega(8)=3, we have terms from 1 to 3).
etc.
PROG
(Scheme, with Antti Karttunen's IntSeq-library)
(define (A241911 n) (if (= n 1) 1 (- n (A022559 (- (A082288 n) 1)) 1)))
CROSSREFS
One more than A241910.
Sequence in context: A364137 A240061 A162320 * A335221 A136610 A326371
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 March 19 03:33 EDT 2024. Contains 370952 sequences. (Running on oeis4.)