OFFSET

1,2

REFERENCES

M. Abramowitz and I. A. Stegun, eds., Handbook of Mathematical Functions, National Bureau of Standards Applied Math. Series 55, 1964 (and various reprintings), p. 844.

LINKS

Reinhard Zumkeller, Table of n, a(n) for n = 1..10000

M. Abramowitz and I. A. Stegun, eds., Handbook of Mathematical Functions, National Bureau of Standards, Applied Math. Series 55, Tenth Printing, 1972 [alternative scanned copy].

Primefan, The First 2500 Integers Factored (first of 5 pages).

FORMULA

EXAMPLE

36 = 2^2*3^2 has 2 positive exponents in its prime factorization. The maximal exponent in its prime factorization is also 2. Therefore, 36 belongs to this sequence.

MATHEMATICA

okQ[n_] := Module[{f = Transpose[FactorInteger[n]][[2]]}, Max[f] == Length[f]]; Select[Range[424], okQ] (* T. D. Noe, May 24 2012 *)

PROG

(Haskell)

import Data.List (elemIndices)

a212166 n = a212166_list !! (n-1)

a212166_list = map (+ 1) $ elemIndices 0 a225230_list

-- Reinhard Zumkeller, May 03 2013

(PARI) is(k) = {my(e = factor(k)[, 2]); !(#e) || vecmax(e) == #e; } \\ Amiram Eldar, Sep 08 2024

CROSSREFS

KEYWORD

nonn,easy

AUTHOR

Matthew Vandermast, May 22 2012

STATUS

approved