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!)
A248502 Numbers m that are not coprime to floor(m/16). 6
2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 32, 34, 36, 38, 40, 42, 44, 46, 48, 51, 54, 57, 60, 63, 64, 66, 68, 70, 72, 74, 76, 78, 80, 85, 90, 95, 96, 98, 99, 100, 102, 104, 105, 106, 108, 110, 111, 112, 119, 126, 128, 130, 132, 134, 136, 138, 140, 142 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Definition of 'being coprime' and special-case conventions are as in Wikipedia. In particular, when m<16 then floor(m/16)=0, and zero is coprime only to 1. The complementary sequence is A248501.
LINKS
Wikipedia, Coprime integers
FORMULA
gcd(a(n),floor(a(n)/16)) > 1.
EXAMPLE
2 is a member because gcd(2,0)=2 > 1.
21 is not a member because floor(21/16)=1 and 1 is coprime to any number.
200 is a member because floor(200/16)=12 and gcd(200,12)=4 > 1.
PROG
(PARI) a=vector(20000);
i=n=0; while(i++, if(gcd(i, i\16)!=1, a[n++]=i; if(n==#a, break))); a
CROSSREFS
Sequence in context: A032950 A365684 A309127 * A250039 A132032 A341709
KEYWORD
nonn,base,easy
AUTHOR
Stanislav Sykora, Oct 07 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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)