login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A157936 Numbers n divisible by the least prime >= sqrt(n). 5
2, 4, 6, 9, 10, 15, 20, 25, 28, 35, 42, 49, 55, 66, 77, 88, 99, 110, 121, 130, 143, 156, 169, 170, 187, 204, 221, 238, 255, 272, 289, 304, 323, 342, 361, 368, 391, 414, 437, 460, 483, 506, 529, 551, 580, 609, 638, 667, 696, 725, 754, 783, 812, 841, 868, 899, 930 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Contains A001248, A006094 and A157937 as subsequences.

LINKS

Table of n, a(n) for n=1..57.

FORMULA

A157936 = A157937 union A001248

MATHEMATICA

dQ[n_]:=Module[{srn=Sqrt[n], x}, x=If [PrimeQ[srn], srn, NextPrime[srn]]; Divisible[n, x]]; Select [Range[1000], dQ]  (* From Harvey P. Dale, Mar 12 2011 *)

PROG

(PARI) for( n=1, 1999, n % nextprime(sqrtint(n-1)+1) | print1(n", ")) /* sqrtint(n-1)+1 avoids rounding errors but can be replaced by sqrt(n) for small n */

CROSSREFS

Cf. A157942.

Sequence in context: A065387 A219787 A065388 * A184978 A024978 A191194

Adjacent sequences:  A157933 A157934 A157935 * A157937 A157938 A157939

KEYWORD

nonn

AUTHOR

M. F. Hasler, Mar 10 2009

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified May 18 09:19 EDT 2013. Contains 225419 sequences.