Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
A067565
Inverse of R. L. Graham's sequence (A006255), or zero if and only if n is a prime.
4
1, 0, 0, 4, 0, 2, 0, 3, 9, 5, 0, 6, 0, 7, 8, 16, 0, 10, 0, 12, 14, 11, 0, 15, 25, 13, 18, 21, 0, 20, 0, 24, 22, 17, 27, 36, 0, 19, 26, 28, 0, 30, 0, 33, 32, 23, 0, 35, 49, 40, 34, 39, 0, 48, 44, 42, 38, 29, 0, 45, 0, 31, 50, 64, 52, 55, 0, 51, 46, 54
OFFSET
1,4
COMMENTS
a(n) = n if and only if n is a perfect square.
Also, the greatest m such that there exists a sequence m = a_1 < a_2 < ... < a_t = n such that a_1 * a_2 * ... * a_t is square. - Peter Kagey, Dec 27 2016
CROSSREFS
Cf. A006255.
Sequence in context: A280639 A350708 A319037 * A243154 A307717 A226782
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Jan 30 2002
STATUS
approved