login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A231810 Numbers n such that p-1 does not divide n+1 for every prime divisor p of n. 2
1, 5, 7, 11, 13, 17, 19, 23, 25, 29, 31, 37, 41, 43, 47, 49, 53, 59, 61, 65, 67, 71, 73, 79, 83, 85, 89, 91, 97, 101, 103, 107, 109, 113, 121, 125, 127, 131, 133, 137, 139, 145, 149, 151, 157, 163, 167, 169, 173, 179, 181, 185, 187, 191, 193, 197, 199, 205, 211 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
fa = FactorInteger; Gu[n_] := Union@Table[IntegerQ[(n + 1)/(fa[n][[i, 1]] - 1)], {i, Length[fa[n]]}]; Select[Range[20000], Gu[#] == {False} &]
Join[{1}, Select[Range[2, 300], NoneTrue[(#+1)/(FactorInteger[#][[All, 1]]-1), IntegerQ]&]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Mar 08 2019 *)
PROG
(PARI) isok(n) = {my(f=factor(n)[, 1]); for (k=1, #f~, if (!((n+1) % (f[k]-1)), return(0)); ); return(1); } \\ Michel Marcus, Oct 02 2019
(Magma) [1] cat [k: k in [2..220]| #[p:p in PrimeDivisors(k)| IsIntegral((k+1)/(p-1))] eq 0]; // Marius A. Burtea, Oct 02 2019
CROSSREFS
Cf. A231811.
Sequence in context: A069040 A070191 A367734 * A314294 A363999 A290729
KEYWORD
nonn
AUTHOR
EXTENSIONS
Term 1 prepended by Max Alekseyev, Jan 20 2014
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)