OFFSET
1,1
COMMENTS
From Antti Karttunen, Nov 20 - Dec 06 2013: (Start)
This sequence has several interpretations:
Numbers k such that A055874(k) differs from A055881(k). [Leroy Quet's original definition of the sequence. Note that A055874(k) >= A055881(k) for all k.]
Numbers k such that {largest m such that m! divides k^2} is different from {largest m such that m! divides k}, i.e., numbers k for which A232098(k) > A055881(k).
Numbers k which are either 12 times an odd number (A073762) or the largest m such that (m-1)! divides k is a composite number > 5 (A232743).
Please see my attached notes for the proof of the equivalence of these interpretations.
Additional implications based on that proof:
A232099 is a subset of this sequence.
A055881(a(n))+1 is always composite. In the range n = 1..17712, only values 4, 6, 8, 9 and 10 occur.
The new definition can be also rephrased by saying that the sequence contains all the positive integers k whose factorial base representation of (A007623(k)) either ends as '...200' (in which case k is an odd multiple of 12, 12 = '200', 36 = '1200', 60 = '2200', ...) or the number of trailing zeros + 2 in that representation is a composite number greater than or equal to 6, e.g. 120 = '10000' (in other words, A055881(k) is one of the terms of A072668 after the initial 3). Together these conditions also imply that all the terms are divisible by 12.
(End)
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..17712
Wikipedia, Wilson's theorem (See the section "Composite modulus")
EXAMPLE
PROG
(Scheme, with Antti Karttunen's IntSeq-library)
(define A055926 (MATCHING-POS 1 1 (lambda (n) (not (= (A055874 n) (A055881 n)))))) ;; Antti Karttunen, Nov 18 2013
(define A055926 (MATCHING-POS 1 1 (lambda (n) (cond ((and (integer? (/ n 12)) (odd? (/ n 12)))) ((A055881 n) => (lambda (k) (and (> k 4) (not (prime? (+ k 1)))))))))) ;; Antti Karttunen, Dec 01 2013
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Leroy Quet, Jul 16 2000
EXTENSIONS
More terms from Antti Karttunen, Dec 01 2013
STATUS
approved