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!)
A063877 Composite numbers not divisible by 7 which in base 7 contain their largest proper factor as a substring. 0
551, 989, 1333, 1363, 5429, 20081, 26167, 28381, 28577, 29719, 60803, 139163, 147733, 150047, 161647, 217103, 224437, 262921, 293921, 298007, 302387, 312913, 342103, 345127, 385937, 436129, 508309, 509189, 539647, 829921, 873827, 921391 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
Do[ If[ !PrimeQ[ n ] && Mod[ n, 7 ] != 0 && StringPosition[ ToString[ FromDigits[ IntegerDigits[ n, 7 ] ] ], ToString[ FromDigits[ IntegerDigits[ Divisors[ n ][ [ -2 ] ], 7 ] ] ] ] != {}, Print[ n ] ], {n, 3, 10^6} ]
Select[Range[10^6], CompositeQ[#]&&Mod[#, 7]!=0&&SequenceCount[ IntegerDigits[ #, 7], IntegerDigits[Divisors[#][[-2]], 7]]>0&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Mar 15 2020 *)
CROSSREFS
Sequence in context: A034282 A127347 A351664 * A204870 A263947 A203629
KEYWORD
base,nonn
AUTHOR
Robert G. Wilson v, Aug 27 2001
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 13:41 EDT 2024. Contains 371957 sequences. (Running on oeis4.)