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.

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

Original entry on oeis.org

1936, 3872, 6348, 7744, 9196, 15004, 15488, 18392, 20812, 21160, 22264, 30008, 35332, 36784, 38416, 41624, 42320, 44528, 51304, 58564, 63916, 65596, 70664, 73084, 73568, 76832, 79420, 81796, 82668, 83248, 84100, 84640, 86152, 96040, 102124, 102608, 109384, 110836
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, Nov 30 2024

Extensions

More terms from Jinyuan Wang, Feb 13 2020