cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-1 of 1 results.

A270266 Numbers that are values of the reduced totient function (A002174) but not of the totient function (A002202).

Original entry on oeis.org

90, 174, 230, 234, 246, 290, 308, 318, 364, 390, 410, 414, 450, 510, 516, 530, 534, 572, 594, 638, 644, 666, 678, 680, 702, 714, 728, 740, 770, 804, 830, 846, 870, 890, 902, 948, 954, 1026, 1036, 1074, 1098, 1100, 1110, 1130, 1134, 1146, 1148, 1164, 1166, 1190, 1204
Offset: 1

Views

Author

Michel Marcus, Mar 14 2016

Keywords

Crossrefs

Programs

  • PARI
    isA002174(n) = if(n%2, return(n==1)); my(f=factor(n), pe); for(i=1, #f~, if(n%(f[i, 1]-1)==0, next); pe=f[i, 1]^f[i, 2]; forstep(q=2*pe+1, n+1, 2*pe, if(n%(q-1)==0 && isprime(q), next(2))); return(0)); 1 \\ Charles R Greathouse IV at A002174
    is(n) = !istotient(n) && isA002174(n); \\ Amiram Eldar, Dec 01 2024
Showing 1-1 of 1 results.