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!)
A241910 After a(1)=0, numbers 0 .. bigomega(n)-1, followed by numbers 0 .. bigomega(n+1)-1, etc., where bigomega(n)=A001222(n) is the number of prime factors of n (with repetition). 3
0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 2, 0, 1, 0, 1, 0, 0, 1, 2, 0, 0, 1, 0, 1, 0, 1, 2, 3, 0, 0, 1, 2, 0, 0, 1, 2, 0, 1, 0, 1, 0, 0, 1, 2, 3, 0, 1, 0, 1, 0, 1, 2, 0, 1, 2, 0, 0, 1, 2, 0, 0, 1, 2, 3, 4, 0, 1, 0, 1, 0, 1, 0, 1, 2, 3, 0, 0, 1, 0, 1, 0, 1, 2, 3, 0, 0, 1, 2, 0, 0, 1, 2, 0, 1, 2, 0, 1, 0, 0, 1, 2, 3, 4, 0, 1, 0, 1, 2, 0, 1, 0, 1, 2, 0, 0, 1, 2, 3, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,12
LINKS
FORMULA
a(1)=0, a(n) = n - A022559(A082288(n)-1) - 2.
EXAMPLE
Viewed as an irregular table, the sequence is constructed as:
"Row"
[1] 0; (by convention, a(1)=0)
[2] 0; (because bigomega(2)=1, we have here terms from 0 to 0)
[3] 0; (same with 3, bigomega(3)=1)
[4] 0, 1; (as bigomega(4)=2, we have terms from 0 to 2-1)
[5] 0;
[6] 0, 1;
[7] 0;
[8] 0, 1, 2; (as bigomega(8)=3, we have terms from 0 to 3-1).
etc.
PROG
(Scheme, with Antti Karttunen's IntSeq-library)
(define (A241910 n) (if (= n 1) 0 (- n (+ 2 (A022559 (- (A082288 n) 1))))))
CROSSREFS
One less than A241911.
Sequence in context: A070095 A060951 A115525 * A065717 A070092 A365545
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 23 11:35 EDT 2024. Contains 371912 sequences. (Running on oeis4.)