GRANT USAGE, SELECT ON SEQUENCE some_table_name_i_seq TO some_user;

In this case:

    GRANT USAGE, SELECT ON SEQUENCE pmacct_i_seq TO B;