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!)
A104420 Numbers n such that n, p[n], p[n]+n, p[n]-n and p[n]*n all are 9-less. 2
1, 2, 3, 4, 5, 11, 13, 15, 26, 27, 33, 36, 48, 51, 55, 60, 61, 65, 71, 83, 100, 101, 106, 112, 115, 116, 117, 123, 126, 151, 170, 173, 177, 200, 203, 206, 216, 221, 225, 230, 231, 233, 234, 235, 240, 241, 253, 255, 271, 275, 281, 283, 284, 286, 287 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
n, p[n], p[n]+n, p[n]-n and p[n]*n all are 0-less gives A104419.
LINKS
MATHEMATICA
id[x_]:=IntegerDigits[x]; pr[i_]:=Prime[i]; ra=Range[300]; A104420=Select[ra, Last[Union[id[ # ], id[pr[ # ]], id[pr[ # ]+# ], id[pr[ # ]-# ], id[pr[ # ]*# ]]]!=9&]
nlsQ[n_]:=Module[{p=Prime[n]}, Max[DigitCount[{n, p, p+n, p-n, p*n}, 10, 9]] == 0]; Select[Range[300], nlsQ] (* Harvey P. Dale, Oct 14 2019 *)
CROSSREFS
Cf. A104419.
Sequence in context: A214653 A234142 A116068 * A188532 A181288 A255260
KEYWORD
nonn,base
AUTHOR
Zak Seidov, Mar 07 2005
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 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)