login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A039832
Numbers k such that k and k+1 both have 4 divisors.
8
14, 21, 26, 33, 34, 38, 57, 85, 86, 93, 94, 118, 122, 133, 141, 142, 145, 158, 177, 201, 202, 205, 213, 214, 217, 218, 253, 298, 301, 302, 326, 334, 381, 393, 394, 445, 446, 453, 481, 501, 514, 526, 537, 542, 553, 565, 622, 633, 634, 694, 697, 698, 706, 717, 745, 766, 778, 793, 802, 817
OFFSET
1,1
REFERENCES
David Wells, Curious and interesting numbers, Penguin Books, 1986, p. 91.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000 (terms 1..1000 from Vincenzo Librandi)
EXAMPLE
14 and 15 both have 4 as number of divisors and are consecutive.
MATHEMATICA
Flatten[Position[Partition[Table[DivisorSigma[0, n], {n, 1000}], 2, 1], _?(#=={4, 4}&)]] (* Vincenzo Librandi, Oct 21 2012 *)
PROG
(PARI) isA039832(n) = numdiv(n)==4 && numdiv(n+1)==4 \\ Michael B. Porter, Feb 03 2010
CROSSREFS
Intersection of A005237 and A030513.
Sequence in context: A274226 A324073 A006614 * A108633 A110478 A125967
KEYWORD
nonn
STATUS
approved